This is a discussion on Re: Greylisting and whitelisting SMTP client domains within the mailing.postfix.users forums, part of the Mail Servers and Related category; >>I'm using Postfix (2.2.3) with greylisting. In the greylisting doc >>(http://www.postfix....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
>>I'm using Postfix (2.2.3) with greylisting. In the greylisting doc
>>(http://www.postfix.org/SMTPD_POLICY_....html#greylist) I read how to >> >>whitelist the sender domain by puting the domain name in >>/etc/postfix/sender_access (e.g. "securityfocus.com OK"). But I also >>have some email forwarding from other domains and then the sender domain >> >>is not useful. Instead I would like to whitelist the SMTP client domain, >> >>how do I do that? > > Unless you post the output of postconf -n, we do not know how your > restrictions are structured. To clearify, whitelisting the sender domain works perfectly, but I also would like to whitelist some SMTP client domains. Right now I have: smtpd_helo_restrictions = hash:/etc/postfix/antispam/helo-domain smtpd_client_restrictions = permit_mynetworks hash:/etc/postfix/antispam/client reject_rbl_client dynablock.wirehub.net reject_rbl_client blackholes.wirehub.net reject_rbl_client relays.ordb.org reject_rbl_client relays.visi.com smtpd_sender_restrictions = permit_mynetworks hash:/etc/postfix/antispam/sender-domain hash:/etc/postfix/antispam/sender-address reject_unknown_sender_domain reject_non_fqdn_sender reject_rbl_client dynablock.wirehub.net reject_rbl_client blackholes.wirehub.net reject_rbl_client relays.ordb.org reject_rbl_client relays.visi.com smtpd_recipient_restrictions = permit_mynetworks reject_unlisted_recipient reject_unauth_destination check_sender_access hash:/etc/postfix/sender_access check_policy_service unix:private/policy Thanks in advance, Jan |