Blacklisting and whitelisting in Zimbra: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
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: | 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: | ||
vim /opt/zimbra/conf/salocal.cf.in | |||
blacklist_from sales@traveloforange.com | blacklist_from sales@traveloforange.com | ||
Revision as of 05:34, 30 July 2012
Blacklists and Whitelists:-
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:
vim /opt/zimbra/conf/salocal.cf.in
blacklist_from sales@traveloforange.com whitelist_from bill@yahoo.net blacklist_from *@emn-mysavingsnow.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