Re: [exim] IPv6 helo

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Paul Dekkers
Υ/ο: Exim-Users
Αντικείμενο: Re: [exim] IPv6 helo
On Sat, 20 Aug 2005, Paul Dekkers wrote:

> > 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


This is a historical glitch; I think Exim was doing IPv6 before the
standards came out. One change was made for 4.31:

 8. The standard form for an IPv6 address literal was being rejected by address
    parsing in, for example, MAIL and RCPT commands. An example of this kind of
    address is [IPv6:2002:c1ed:8229:10:202:2dff:fe07:a42a]. Exim now accepts   
    this, as well as the form without the "IPv6" on the front (but only when
    address literals are enabled, of course).                                


Looks like HELO/EHLO was overlooked at the time this was done.



-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book