我在Ubuntu上使用Postfix,Dovecot和SpamAssassin有一个邮件服务器。 在Postfix中,我通过“ recipient_delimiter选项使用“plus addressing”。 因此,例如[email protected]和[email protected]是有效的,并且实际上交付给foo账户。
其中一些地址已经被[email protected] /销售,现在是垃圾邮件的重要来源(如[email protected] )。 我想阻止所有发送到特定地址列表的电子邮件。
我编辑/etc/spamassassin/local.cf到:
shortcircuit USER_IN_BLACKLIST_TO on blacklist_to [email protected]之上): blacklist_to [email protected] 重新启动spamassassin( /etc/init.d/spamassassin restart )之后,发送到黑名单地址的邮件仍然没有受到伤害。
我该如何硬拷贝这些邮件,所以我从来没有看到它们?