How to block a domain in Zimbra

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

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *