Getting spam mails for your local domain users in zimbra?


In a zimbra server, local user’s mail were sent as junk or spam mails for the same domain users.
Here are the solutions found in various threads in zimbra forums.

I did all these and the issue solved. 🙂

Domain name = test.com

1.
add the line in /opt/zimbra/conf/amavisd.conf.in
‘test.com’                              => -10.0,

refer this link
http://wiki.zimbra.com/index.php?title=Improving_Anti-spam_system#User_white.2Fblack_list

2.
add the following content in /opt/zimbra/conf/amavis.conf.in

read_hash(\%whitelist_sender, ‘/opt/zimbra/whitelist’);
read_hash(\%blacklist_sender, ‘/opt/zimbra/blacklist’);
read_hash(\%spam_lovers, ‘/opt/zimbra/spamlovers’);

3.
add in  /opt/zimbra/whitelist
test.com

4.
add in  /opt/zimbra/conf/salocal.cf.in

whitelist_from *@test.com
score FH_DATE_PAST_20XX 0.0

5.
add in  /opt/zimbra/conf/spamassassin/local.cf
trusted_networks 192.168.3.

6.
restart the services
zmmtactl restart && zmamavisdctl restart (as zimbra user)
/etc/init.d/zimbra restart (as root user)

Thanks for the zimbra forum contributors.

Advertisements