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 user@bad-domain.com
zmamavisdctl restart

How to unblock

If you have blocked a domain or email address and want to unblock, you can use

Advertisement

-amavisBlacklistSender

Example

zmprov md yourdomain.com -amavisBlacklistSender bad-domain.com
zmamavisdctl restart
Add a comment

Leave a Reply

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

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement