Kyle
Thanks for highlighting the cause. Yep, now it works.
Regards
Unga
--- Kyle Wheeler <kyle-qmail@memoryhole.net> wrote:
> On Thursday, August 9 at 09:41 AM, quoth Unga:
> >I don't get a "Received [..] with
> (DHE-RSA-AES256-SHA
> >encrypted) SMTP;") header in mails I send. I tried
> >with Thunderbird ver. 1.5.0.7. What I get is:
> >Received: ...with ESMTPA.
>
> It's because of a bit of laziness on the part of the
> person merging
> the two patches. The AUTH patch sets the protocol
> string to be
> "ESMTPA", and the TLS patch sets the protocol string
> to be
> "(DHE-RSA-AES256-SHA encrypted) SMTP", and they
> overwrite each other.
> Whichever one happens last wins; so if you encrypt
> first and then
> auth, all you'll see is that your mail was sent
> authenticated.
>
> Look in the code, in smtp_auth(), for where it says:
>
> protocol = "ESMTPA";
>
> and replace it with:
>
> if (smtps && ssl) {
> if (!stralloc_copys(&proto, "ESMTPSA (")
> || !stralloc_cats(&proto,
> SSL_get_cipher(ssl))
> || !stralloc_cats(&proto, " encrypted,
> authenticated)"))
> die_nomem();
> if (!stralloc_0(&proto)) die_nomem();
> protocol = proto.s;
> } else {
> protocol = "ESMTPA";
> }
>
> ...and you'll have to move the definition of the
> proto variable higher
> up in the file so that smtp_auth() can have access
> to it.
>
> Or you can complain to the guy you got the patch
> from! :)
>
> ~Kyle
> --
> Power always thinks it has a great soul and vast
> views beyond the
> comprehension of the weak; and that it is doing
> God's service when it
> is violating all his laws.
>
> -- John Adams
>
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
|