frantisek holop wrote: > main.cf: > > > smtpd_helo_restrictions = > permit_mynetworks > check_helo_access hash:/etc/postfix/client_checks > reject_unlisted_recipient > reject_invalid_helo_hostname > reject_non_fqdn_helo_hostname > reject_unknown_helo_hostname > > client_checks: > > # mailserver-with-invalid-helo.com > aaa.bbb.ccc.ddd OK > > Change check_helo_access to check_client_access. helo access verifies what is passed with the HELO command (e.g. HELO myserver) client access verifies the IP of the connecting server
You can include client checks in helo_restrictions per http://www.postfix.org/postconf.5.html#smtpd_helo_restrictions