"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #user"接着,将下面的语句添加到 .procmailrc 文件:
:0fw| /path/to/spamassassin/spamassassin就这样!现在,所有消息都将通过 SpamAssassin 过滤。缺省情况下,当 SpamAssassin 将消息标记为垃圾邮件时,它将对主题、主体和 X-Spam-Status 头添加一个记号。现在用户可以使用他或她喜欢的邮件用户代理的过滤功能来将这些带标记的垃圾邮件消息扫除到“垃圾邮件”文件夹或删除它们。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #How many hits before a mail is considered spam? required_hits 6 #Don't mangle the messages so badly rewrite_subject 0 use_terse_report 1 #whitelist and blacklist whitelist_from *@spam-site-i-like.com blacklist_from annoying-person@some-host.com #reweight an existing rule score BASE64_ENC_TEXT 3 #add some new rules header KNOWN_LIST List-Id =~ /a-mailing-list-i-like/ score KNOWN_LIST -3 body EVITE /This invitation was sent to you by .* using Evite/ describe EVITE Looks like an eVite score EVITE -3 |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |