Hi guys,
Running Postfix 2.3.3-2.1.el5_2 (RHEL5.5), I have the following in main.cf:
smtpd_helo_restrictions = warn_if_reject reject_invalid_hostname
regexp:/etc/postfix/helo.regexp
and in helo.regexp:
/^[0-9.]+$/ 550 Your software is not RFC 2821 compliant
/^[0-9]+(\.[0-9]+){3}$/ 550 Your software is not RFC 2821 compliant
But for some reason, mail is still getting rejected based on the above:
Nov 12 08:37:38 post9 postfix/smtpd[20628]: NOQUEUE: reject: RCPT from
unknown[95.58.28.18]: 550 5.7.1 <95.58.28.18>: Helo command rejected:
Your software is not RFC 2821 compliant; from=<no-re...@rolex.com>
to=<me...@mydomain.tld> proto=ESMTP helo=<95.58.28.18>
Is it normal for warn_if_reject not to work on some restrictions?
Along the same lines, is there a way to get warn_if_reject like
behaviour for parameters like:
strict_rfc821_envelopes = yes
smtpd_helo_required = yes
Thanks