[Bug 69828] kmail: doesnt send fake hostname during check for server support

"R??mi" Denis-Courmont <[email protected]> 13 Oct 2007 10:25:47 -0000
Newsgroups gmane.comp.kde.devel.kmail
Message-ID <[email protected]>
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=69828         




------- Additional Comments From rdenis simphalempin com  2007-10-13 12:25 -------
Le Saturday 13 October 2007 12:40:04 Hendrik Naumann, vous avez écrit :
> > ------- Additional Comments From rdenis simphalempin com
> > 2007-09-15 13:21 ------- I think the correct syntax is:
> > "EHLO [IPv6:" + address + "]", e.g.: "EHLO [IPv6:::1]"
> >
> > At least Postfix seems to accept this one.
> > See also RFC2821 §4.1.3 for the reference.
> >
> > Unfortunately, currently, it kmail sends "EHLO [::1]".
> >
> > Work around is to force a custom hostname in the kmail
> > configuration.
>
> Would you be so kind to give an example of the syntax?


The hostname should simply be the concatenation of "[IPv6:" with the standard 
IPv6 numerical notation, and "]".

So, if the source address is 2002:3e4e:969c::1, that would b 
[IPv6:2002:3e4e:969c::1]

Real-life example:

% nc6 2002:c2f2:7249::1 smtp
220 poy.chewa.net ESMTP Postfix (Debian/GNU)
EHLO [IPv6:2002:3e4e:969c::1]
250-poy.chewa.net
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
...

Regards,
_______________________________________________
KMail developers mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kmail-devel