Hi, I have a weird situation where Nagios alerts are sent to me from a customer and all are rejected because of Helo command rejected: Host not foundOr is it because the reverse DNS goes to some other name (default road-runner name) instead of the 'server' name? Would it work if I actually whitelist the IP in postconf even if the PTR is delegated by road runner? Thanks!
Hi Till, Here's what I have that is not working Code: smtpd_helo_restrictions = permit_sasl_authenticated, permit_mynetworks, check_helo_access regexp:/etc/postfix/helo_access, reject_invalid_hostname, reject_non_fqdn_hostname, reject_invalid_helo_hostname, reject_unknown_helo_hostname, check_helo_access regexp:/etc/postfix/blacklist_helo And here's what is in /etc/postfix/helo_access: Code: # helo_access - before permit_sasl # be sure to list your own hostname(s), domain(s) and IP address(es) here # Reject others identifying with this machine's hostnames and IP addresses #/^inferno\.cocoanet\.us$/ REJECT #/^((smtp|mx|mail)\.domain1\.com$/ REJECT #/^mail\.domain2\.com$/ REJECT # TODO: this server's ip addr loop here #/^\[?1\.2\.3\.4\]?$/ REJECT #/^\[?12\.34\.56\.78\]?$/ REJECT #/^\[?123\.234\.123\.234\]?$/ REJECT # Reject others identifying as domains we host # TODO: this server's hosted mail domains loop here #/^domain1\.com$/ REJECT #/^domain2\.com$/ REJECT #/^domain3\.net$/ REJECT /\[?70\.62\.212\.82\]?/ PERMIT
Adding the hostname from the 'helo' seems to be working! Here's what I added to /etc/postfix/helo_acces Code: /^\[?70\.62\.212\.82\]?$/ PERMIT /^it\-workstation\-host\.ad\.sfpi\.com$/ PERMIT