EzyMailHostingAdministration

Blacklist and Whitelist with Amavisd

Configure Blacklist and Whitelist with Amavisd in ZIMBRA instead of Postfix Blacklist/Whitelist. The configuration steps are as follows:

  1. Edit /opt/zimbra/conf/amavis.conf.in and add the following:
read_hash(\%whitelist_sender, '/etc/zimbra/whitelist');
read_hash(\%blacklist_sender, '/etc/zimbra/blacklist');
  1. Create the whitelist, blacklist, and spamlovers files with:
# touch /etc/zimbra/whitelist
# touch /etc/zimbra/blacklist
  1. Enter email addresses or domains in the appropriate file to block or bypass them, as in these examples. 3.1 Blacklist: add the email addresses or domains you want to block to the blacklist file, for example:
[email protected]
spammer.com

3.2 Whitelist: add the email addresses or domains you want to bypass to the whitelist file, for example:

ezymailhosting.com
gmail.com
[email protected]
EOF.← Back to articles