将本地用户发出去的邮件不用 过滤和反垃圾

在 amavisd.conf 里有这样的设置:

$policy_bank{'MYUSERS'} = {
    ...
    # don't perform spam/virus/header check.                                       
    #bypass_spam_checks_maps => [1],                                               
    #bypass_virus_checks_maps => [1],                                              
    #bypass_header_checks_maps => [1],                                             
                                                                                   
    # allow sending any file names and types                                       
    bypass_banned_checks_maps => [1],
    ...
}

将对应的 bypass_ 设置去掉注释并重启 Amavisd 服务即可。

 

来自:http://www.iredmail.com/bbs/topic2229-iredmail-iredmail.html

 

版权声明:
作者:admin
链接:https://www.chenxie.net/archives/239.html
来源:蜀小陈
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>