今天幫豐英老闆抓mail廣告信的問題,
我想說我已經有裝SPAM了,
奇怪為什麼還跟我呼天喊地說有廣告信,
找了一整個晚上發現,
1. amavisd-new Tips and FAQ -- spam scanners
2. https://help.ubuntu.com/9.04/serverguide/C/mail-filtering.html
If the server's hostname is different from the domain's MX record you may need to manually set the $myhostname option. Also, if the server receives mail for multiple domains the @local_domains_acl option will need to be customized. Edit the /etc/amavis/conf.d/50-user file:
$myhostname = 'mail.example.com';
@local_domains_acl = ( "example.com", "example.org" );
真是靠邀... 花了我快2個小時,
設定一下就好了.