国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 服務(wù)器 > Mail服務(wù)器 > 正文

郵件服務(wù)器的安全解決方案_Mail服務(wù)器教程

2024-09-08 23:46:13
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
8、修改sendmail.cf

  vi /etc/sendmail.cf
  在檔案最后加上以下的內(nèi)容:
  注意:復(fù)制/貼上以下內(nèi)容有時(shí)會(huì)因?yàn)閔tml tag的問(wèn)題造成sendmail服務(wù)無(wú)法重新啟動(dòng),此時(shí)可下載完整sendmail.cf范例文件 (右鍵/另存目標(biāo))至本機(jī)再?gòu)?fù)制/貼上至服務(wù)器或上傳至服務(wù)器。
  #在M
  ##### @(#)procmail.m4 8.11 (Berkeley) 5/19/1998 #####
  Mprocmail, P=/usr/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31, T=DNS/RFC822/X-Unix,
  A=procmail -f- -Y -m $h $f $u
  # (空此行一定要先空tab)

 

  # 在my name for error messages設(shè)定的后面加上下面兩行
  # Avoid host map lookups if address has this pseudo-domain on it CPprocmail

  # 在Ruleset 98后面加上下面設(shè)定
  # Filter all mail through procmail
  #
  # Strip the pseudo-domain and continue (already gone through the filter)
  R$*<@$+.procmail>$* $@ $1<@$2.>$3
  R$*<@$+.procmail.>$* $@ $1<@$2.>$3
  #
  # No pseudo-domain, send to filtering mailer
  R$*<@$+.>$* $#procmail $@/etc/procmail/filter.rc $:$1<@$2.procmail>$3
  R$*<@$+>$* $#procmail $@/etc/procmail/filter.rc $:$1<@$2.procmail>$3

  9、建立過(guò)濾檔filter.rc

  vi /etc/procmail/filter.rc
  范例文件內(nèi)容如下:
  LOGFILE=/var/log/procmail.log
  NL="
  "
  LOGABSTRACT=no

  POISONED_EXECUTABLES=/etc/procmail/poisoned-files
  INCLUDERC=/etc/procmail/html-trap.procmail

  :0 # re-send the message
  ! -oi -f "$@"

 

 

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 丰镇市| 永清县| 西城区| 浪卡子县| 元朗区| 台南县| 安远县| 马尔康县| 沭阳县| 华坪县| 乐都县| 阳城县| 德昌县| 溧阳市| 崇左市| 岳阳市| 九江县| 青田县| 民丰县| 惠东县| 赤峰市| 双流县| 张北县| 衡东县| 剑河县| 二连浩特市| 和田县| 民勤县| 江西省| 谷城县| 当阳市| 尚义县| 开江县| 洞口县| 敖汉旗| 荥阳市| 唐山市| 嵊州市| 大冶市| 弥渡县| 吕梁市|