EzyMailHostingAdministration

Configuring Whitelist/Blacklist on ZIMBRA 8.5/8.6

Email-logo ZIMBRA 8.5 and later changed the configuration for blacklists and whitelists. Follow these steps to add whitelist/blacklist entries. Whitelist

  1. Create /opt/zimbra/conf/postfix_rbl_override. Add the mail server IP address or hostname you want to whitelist, followed by “OK”, as in this example.

    Reading note: the Thai word in the preserved example means “or”.

    1.2.3.4 OK
    หรือ
    mail.ezymailhosting.com OK
  2. Run postmap to create the lmdb: postmap /opt/zimbra/conf/postfix_rbl_override

  3. Apply the configuration to ZIMBRA with: zmprov mcf +zimbraMtaRestriction 'check_client_access lmdb:/opt/zimbra/conf/postfix_rbl_override'

Blacklist

  1. Create /opt/zimbra/conf/postfix_blacklist and add the mail server IP address or hostname you want to add to the whitelist, followed by “REJECT”, as in this example.

    Reading note: the Thai word in the preserved example means “or”.

    1.2.3.4 REJECT
    หรือ
    mail.domain.com REJECT
  2. Run postmap to create the lmdb: postmap /opt/zimbra/conf/postfix_blacklist

  3. Apply the configuration to ZIMBRA with: zmprov mcf +zimbraMtaRestriction ‘check_client_access lmdb:/opt/zimbra/conf/postfix_blacklist’

EOF.← Back to articles