Hi Marc,
Marc Sherman wrote:
>> While looking at some mail-headers, I was wondering about the IPv6
>> literals used with the EHLO/HELO in exim. I noticed that some clients
>> (like Thunderbird) but also other MTA's use "IPv6:" in front of the
>> address, like
>> [IPv6:2001:610:508:...]
>> (but I suppose only clients actually use it in the HELO).
>>
>> If this was provided as:
>> [2001:610:508:...]
>> the address would have been "recognised" by exim and the helo= string
>> omitted.
>> Isn't it nicer if literals with IPv6: in front where accepted in the
>> same way?
>
> According to RFC2821, the IPv6: tag is actually required:
>
> ehlo = "EHLO" SP Domain CRLF
>
> Domain = (sub-domain 1*("." sub-domain)) / address-literal
>
> address-literal = "[" IPv4-address-literal /
> IPv6-address-literal /
> General-address-literal "]"
>
> IPv6-address-literal = "IPv6:" IPv6-addr
>
> So, does that make this a bug?
I think so, although no severe one ;-)
I took the liberty of filing the bug into bugzilla, hope that's ok.
http://www.exim.org/bugzilla/show_bug.cgi?id=36
(Never filed one, so this was the "first time for everything"-thing ;-))
Paul