How to block incoming users or domains


#su zimbra
$vi /opt/zimbra/common/conf/postfix_reject_sender
user@domain.com REJECT
domainX.com REJECT


$zmprov ms 'yourzimbraservername' +zimbraMtaSmtpdSenderRestrictions "check_sender_access lmdb:/opt/zimbra/common/conf/postfix_reject_sender"


$/opt/zimbra/common/sbin/postmap /opt/zimbra/common/conf/postfix_reject_sender
$zmmtactl restart


REF:


Comments

Popular posts from this blog

Disabling Zimbra's AntiSpam, Amavis and AntiVirus filtering

Cambium cnPilot E400/E410/E500 Configuration Tutorial

Error "Unable to retrive Zimbra GPG key for package validation"