User Tools

Site Tools


internet:mail:zimbra:zimbra_white_black

This is an old revision of the document!


Zimbra - Whitelist or Blacklist

By IP Address

Zimbra 8.5+

:!: In a pinch, you can add an IP address to the Postfix mynetworks definition of trusted hosts.

Become the zimbra user:

su - zimbra

Whitelist

vim /opt/zimbra/conf/postfix_rbl_override

xxx.xxx.xxx.xxx OK

then:

postmap /opt/zimbra/conf/postfix_rbl_override

zmprov mcf +zimbraMtaRestriction 'check_client_access lmdb:/opt/zimbra/conf/postfix_rbl_override'

Blacklist

vim /opt/zimbra/conf/postfix_blacklist

xxx.xxx.xxx.xxx REJECT

then:

postmap /opt/zimbra/conf/postfix_blacklist

zmprov mcf +zimbraMtaRestriction 'check_client_access lmdb:/opt/zimbra/conf/postfix_blacklist'

Restart the MTA

zmmtactl restart
internet/mail/zimbra/zimbra_white_black.1510932289.txt.gz · Last modified: 2017/11/17 08:24 by gcooper