Categorized | Antispam, Tutorial, Zimbra

Improving Anti-spam system : How to Add blacklist and Whitelist Entries On Zimbra Server

The easiest way to “tweak” your spamassassin filtering setup is to edit your /opt/zimbra/conf/salocal.cf.in file, which is designed specifically for “local” (ie user) configuration.

Modifying only this file makes for easier upgrades, and protects your spamassasin installation from inadvertant destruction.

Keep in mind, however, that Zimbra replaces this file on every upgrade, so you’ll want to create a cron job to copy it to the backup folder (or some other safe location) on a regular basis.

zimbra-spam

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.

To add blackist or whitelist entries to your salocal.cf.in file, simply add lines in the following format:

blacklist_from update@facebookmail.com
blacklist_from invitations@hi5.com
blacklist_from invitations@twitter.com
blacklist_from order-update@amazon.com
blacklist_from resume-thanks@google.com
blacklist_from e-cards@hallmark.com
blacklist_from *@emn-mysavingsnow.net
whitelist_from bill@yahoo.net

Note that * is a wildcard. In this example *@emn-mysavingsnow.net indicates all email from any user at emn-mysavingsnow.net.


When you are finished editing the salocal.cf.in file, restart Zimbra spamassassin by issuing the following command at the server prompt (as the zimbra user):

zmmtactl restart && zmamavisdctl restart

Ok, You’re Done

Source : Here

Leave a Reply

*

Our Partner

Our Partner

Update ESET Nod32

Update 11322, 15 Mar 2015

Update 15 Mar 2015

~ For Eset All Version, OS XP, Vista dan Win7