I'm trying to figure out how to block domains that are sending a large amount of spam.
I have followed the wiki on blocking domains, which gives an example of adding something like (blacklist_from *@emn-mysavingsnow.net) to the /opt/zimbra/conf/salocal.cf.in and restarting the spam filter.
I have tested this with a few random domains and they still get through even though I've blocked them. Could someone please tell me what the problem is?
I've been using this from the wiki-
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:
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):