Это старая версия документа!
Whitelist Edit /opt/zimbra/conf/postfix_rbl_override. Add IP address(es) SPACE OK to the file, one IP address per line: <pre> 1.2.3.4 OK </pre> Run the postmap to save and apply the changes in Postfix: <pre> postmap /opt/zimbra/conf/postfix_rbl_override </pre> Run the zmprov to apply the changes to the Zimbra Collaboration Server: <pre> zmprov mcf +zimbraMtaRestriction 'check_client_access lmdb:/opt/zimbra/conf/postfix_rbl_override' </pre> postmap will need to be rerun on the file any time an IP address is added or removed.
Blacklist Edit /opt/zimbra/conf/postfix_blacklist. Add IP address SPACE REJECT to the file, one IP address per line: <pre> 1.2.3.4 REJECT </pre> Run the postmap to save and apply the changes in Postfix: <pre> postmap /opt/zimbra/conf/postfix_blacklist </pre> Run the zmprov to apply the changes to the Zimbra Collaboration Server: <pre> zmprov mcf +zimbraMtaRestriction 'check_client_access lmdb:/opt/zimbra/conf/postfix_blacklist' </pre> postmap will need to be rerun on the file anytime an IP address is added or removed.