Discussion:
Bug in Postfix regarding the 'smtpd_helo_required' option
(too old to reply)
Nikolas Kallis
2013-05-13 05:28:09 UTC
Permalink
Hello,



There is a bug in Postfix's 'smtpd_helo_required' option, with the
attribute 'reject_non_fqdn_helo_hostname'.

Postfix does not accept an address literal for a HELO or EHLO message,
and Postfix's documentation says a FQDN is required for a HELO or EHLO.

This is not RFC 2821 states under '4.1.1.1 Extended HELLO (EHLO) or
HELLO (HELO)' that an address literal must be accepted.


Postfix documentation will also need to be updated with the correct
information:

http://www.postfix.org/postconf.5.html#smtpd_helo_restrictions


Also, my e-mail address was recently removed from the postfix-devel when
I did not request it, nor was I consulted over the decision. If this
happens again then I will cease contributing to Postfix.



Regards,

Nikolas Kallis
Michael Tokarev
2013-05-13 05:39:28 UTC
Permalink
Post by Nikolas Kallis
Hello,
There is a bug in Postfix's 'smtpd_helo_required' option, with the attribute 'reject_non_fqdn_helo_hostname'.
Postfix does not accept an address literal for a HELO or EHLO message, and Postfix's documentation says a FQDN is required for a HELO or EHLO.
This is incorrect. Postfix accepts IP literals (either IPv4 or IPv6) in HELO/EHLO argument,
and did that since the very beginning 15+ years ago. Some sites may explicitly block
such argument using postfix, but it is custom config and not postfix's fault.

Claims without facts isn't wise. Maybe at least provide an example.
Post by Nikolas Kallis
This is not RFC 2821 states under '4.1.1.1 Extended HELLO (EHLO) or HELLO (HELO)' that an address literal must be accepted.
Sure, and postfix does just that.
Post by Nikolas Kallis
http://www.postfix.org/postconf.5.html#smtpd_helo_restrictions
What exactly needs to be corrected here? What is incorrect?
Again, claims without facts isn't wise. Maybe you should tell
which statement is incorrect instead of pointing at a whole
large paragraph.
Post by Nikolas Kallis
Also, my e-mail address was recently removed from the postfix-devel when I did not request it, nor was I consulted over the decision.
Just one opportunity: mailing list manager robot does not ask a
bouncing addresses whenever they want to be unsubscribed.
Post by Nikolas Kallis
If this happens again then I will cease contributing to Postfix.
I think this way it is better not to.

Thanks,

/mjt
Ralf Hildebrandt
2013-05-13 08:04:02 UTC
Permalink
Post by Nikolas Kallis
Hello,
There is a bug in Postfix's 'smtpd_helo_required' option, with the
attribute 'reject_non_fqdn_helo_hostname'.
Postfix does not accept an address literal for a HELO or EHLO
message, and Postfix's documentation says a FQDN is required for a
HELO or EHLO.
Logs for that?
--
Ralf Hildebrandt Charite Universitätsmedizin Berlin
***@charite.de Campus Benjamin Franklin
http://www.charite.de Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
Viktor Dukhovni
2013-05-13 11:49:42 UTC
Permalink
Post by Nikolas Kallis
Also, my e-mail address was recently removed from the postfix-devel
when I did not request it, nor was I consulted over the decision. If
this happens again then I will cease contributing to Postfix.
You've been removed again, for posting user questions to the devel
list. Feel free to join the postfix-users list, where it would be
prudent to ask questions before claiming you've found a bug.
--
Viktor.
Loading...