国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 巴彦淖尔市| 丰都县| 营口市| 资溪县| 武定县| 周宁县| 枣强县| 应城市| 莆田市| 平利县| 辽源市| 顺昌县| 崇左市| 福泉市| 红河县| 海丰县| 蒙山县| 慈利县| 弋阳县| 敖汉旗| 达日县| 若尔盖县| 花莲县| 新乡县| 杭锦后旗| 东兴市| 巩留县| 浦江县| 衡阳市| 西昌市| 海兴县| 青冈县| 林州市| 牙克石市| 鄂托克前旗| 开鲁县| 仁化县| 洛浦县| 周口市| 荔浦县| 黔江区|