[IPv6] postfix bug
Hi Jones,
I have probably found a bug w/ postfix and IPv6 (I'm running postfix...
when a client try to send a mail through IPv6, he has (if he choices to
send an IP address in the EHLO command) to add the "IPv6:" prefix to its
IPv6 address, but postfix rejects this.
Here are some references :
[ https://bugzilla.mozilla.org/show_bug.cgi?id=279109 ]
[ http://lists.debian.org/debian-ipv6/2004/07/msg00029.html ]
[ http://www.faqs.org/rfcs/rfc2821.html ] (chpt 4.3.1)
The RFC says (at the given chapter) :
Sometimes a host is not known to the domain name system and
communication (and, in particular, communication to report and repair
the error) is blocked. To bypass this barrier a special literal form
of the address is allowed as an alternative to a domain name. For
IPv4 addresses, this form uses four small decimal integers separated
by dots and enclosed by brackets such as [123.255.37.2], which
indicates an (IPv4) Internet Address in sequence-of-octets form. For
IPv6 and other forms of addressing that might eventually be
standardized, the form consists of a standardized "tag" that
identifies the address syntax, a colon, and the address itself, in a
format specified as part of the IPv6 standards [17].
Specifically:
IPv4-address-literal = Snum 3("." Snum)
IPv6-address-literal = "IPv6:" IPv6-addr
...
If I use postfix-2.0.18-1.0.ipv6.r1, it simply reject my EHLO command
[1], and if I use postfix-2.1.5-4, it also reject my EHLO command, but
with strange "???" instead of ":::" [2].
[1] 501 <[IPv6:::1]>: Helo command rejected: invalid ip address
[2] 501 <[IPv6???1]>: Helo command rejected: invalid ip address
notice that I've not found any address to mail the postfix team directly
(this is clearly indicated that postfix-devel@ is not here for that kind
of stuff), that's why I'm contacting you.
I hope it would help (everyone)... :c)
--
Baptiste SIMON
aka BeTa
Administrateur systèmes GNU/Linux, Unix, IPv6 | http://www.e-glop.net/
Développement, design système | CNAM - CEANTE - http://ceante.cnam.fr/
Reply to: