blacklist/whitelist

Example 5. 测试黑名单

测试方法:将其它ISP邮箱加入"blacklist_sender",第一个邮件地址后加回车.

[root@linuxas3 amavis]# echo [email protected] >> blacklist_sender
[root@linuxas3 amavis]# cat blacklist_sender
[email protected]
[root@linuxas3 amavis]#
			

然后使用[email protected]这个邮箱给自己发封邮件.

Note

注:$final_spam_destiny = D_BOUNCE; # (defaults to D_REJECT)

你会收到一封弹回邮件.发送者是:amavisd-new<[email protected]>

主题为:Considered UNSOLICITED BULK EMAIL from you