To block all emails from a specific domain in Zimbra, run the following commands as user zimbra (su – zimbra).
zmprov md yourdomain.com +amavisBlacklistSender bad-domain.com
zmamavisdctl restart
To block a specific email address, run
zmprov md yourdomain.com +amavisBlacklistSender [email protected]
zmamavisdctl restart
How to unblock
If you have blocked a domain or email address and want to unblock, you can use
-amavisBlacklistSender
Example
zmprov md yourdomain.com -amavisBlacklistSender bad-domain.com
zmamavisdctl restart
Back to zimbra
Leave a Reply