Powered by Blogger.

How to add Whitelists and Blacklists on Zimbra 08

To add blackist or whitelist entries to your salocal.cf.in file.

[root@mail ~]# vi /opt/zimbra/conf/salocal.cf.in

blacklist_from *fenpropertyservices.co.uk
blacklist_from *marshallsestateagents.co.uk
whitelist_from m.rajesh@yahoo.com
whitelist_from ganesh@gmail.com

To set domain or IP level spam score in zimbra

[root@mail ~]# vi /opt/zimbra/conf/amavisd.conf.in

# To set white listed domain or IP (score -1 to -10 : default -5)
# read_hash(“/var/amavis/sender_scores_sitewide”),
{ # a hash-type lookup table (associative array)
‘nobody@cert.org’ => -3.0,
‘cert-advisory@us-cert.gov’ => -3.0,

# To set block listed domain or IP (score 1 to 10)
# soft-blacklisting (positive score)
‘sender@example.net’ => 3.0,
‘.example.net’ => 1.0,
‘.domain.com’ => 8.0,

————————————————————–

The simplest filtering methods for spamassasin are the blacklist and whitelist. Blacklist entries block all email from an address or domain, and whitelist entries bypass all filtering for an address or domain.

Restart Zimbra spamassassin by using following command.

[zimbra@mail root]$ zmmtactl restart && zmamavisdctl restart
    Blogger Comment
    Facebook Comment