Zimbra whitelist: Unterschied zwischen den Versionen
Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=Postfix whitelist when using RBL's= If you are using RBLs (such as zen.spamhaus.org) to block spam, the whitelist method above does not work, because it is for…“) |
(kein Unterschied)
|
Aktuelle Version vom 21. Mai 2010, 15:45 Uhr
Postfix whitelist when using RBL's
If you are using RBLs (such as zen.spamhaus.org) to block spam, the whitelist method above does not work, because it is for spamassasin not postfix.
Postfix will check incoming messages against the RBL first, and allow/reject accordingly. So if you have a sender listed on a RBL, you need to whitelist them in Postfix.
To do this in Zimbra: {commands in italics}
Login and change to zimbra user
vi /opt/zimbra/conf/postfix_rbl_override
list all IP addresses or host names (one per line!) that you want to whitelist:
1.2.3.4 OK 1.2.3.5 OK mail.freemailer.tld OK
postmap /opt/zimbra/conf/postfix_rbl_override
vi /opt/zimbra/conf/postfix_recipient_restrictions.cf
under: reject_unauth_destination
add: check_client_access hash:/opt/zimbra/conf/postfix_rbl_override
e.g.:
reject_unauth_destination check_client_access hash:/opt/zimbra/conf/postfix_rbl_override reject_unlisted_recipient
zmmtactl restart
Each time you add a new one, you need to do the postmap command then zmmtactl restart (Also, this may be removed after a Zimbra upgrade)