???? ?????: > Hello Guys, > > I'm trying to set up some restrictions in 'smtpd_client_restrictions' > Postfix config block. You can see my 'smtpd_client_restrictions' block > bellow: > > smtpd_client_restrictions = > permit_mynetworks, > check_client_access hash:/etc/postfix/access > reject_unknown_client_hostname, > reject_unauth_destination, > reject_invalid_hostname, > reject_unauth_pipelining,reject_non_fqdn_sender, > reject_unknown_recipient_domain, > reject_unverified_recipient > permit > > I put 'check_client_access' rule in oreder to whitelist some type of > senders that have a specific domain part in the envelop-from header but > doesn't have correct PTR/A DNS records. > > /etc/postfix/access: > > yahoo.com OK
For security reasons Postfix does not allow you to whitelist a client hostname with incorrect PTR/A DNS records. Not even when you use check_reverse_client_hostname_access instead of check_client_access. If you must whitelist, use the IP address. Wietse