# 在my name for error messages设定的后面加上下面两行
# Avoid host map lookups if address has this pseudo-domain on it CPprocmail
# 在Ruleset 98后面加上下面设定
# 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、建立过滤档filter.rc
vi /etc/procmail/filter.rc
范例文件内容如下:
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 "$@"
·Linux下Mail服务器架设攻略 | ·Win2003下Mail服务器 |
·Sendmail 554 错误的解决 | ·企业Sendmail邮件服务器的创建(2) |
·企业Sendmail邮件服务器的创建(4) | ·企业Sendmail邮件服务器的创建(3) |
·企业Sendmail邮件服务器的创建(1) | ·选择邮件服务器十二要素(5) |
·选择邮件服务器十二要素(4) | ·选择邮件服务器十二要素(3) |
Copyright © 2002-2015 版权所有 学校地址:北京市海淀区西三旗建材城中路29号北大青鸟 招生热线:010-82011433/32 京公网安备110102004704 京ICP备05043413号 京公网安备110102004704 |