blacklist/whitelist

Example 5. 測試黑名單

測試方法:將其它ISP郵箱加入"blacklist_sender",第一個郵件地址後加回車.

[root@linuxas3 amavis]# echo netkillers@sohu.com >> blacklist_sender
[root@linuxas3 amavis]# cat blacklist_sender
netkillers@sohu.com
[root@linuxas3 amavis]#
			

然後使用netkillers@sohu.com這個郵箱給自己發封郵件.

Note

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

你會收到一封彈回郵件.發送者是:amavisd-new<postmaster@yourdomain.org>

主題為:Considered UNSOLICITED BULK EMAIL from you