Re: Fwd: SMTP TLS

Rajko Albrecht <[email protected]>
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
DINH Viêt Hoà wrote:

>> Maybe I have to read document again but I thought that TLS session
>> could work only if the serveur was ESMTP (start using ehlo),
>> helo is for SMTP only, then I have to try ehlo before fallback on
>> helo when the server is SMTP only (then, with no TLS).

No, thats right. Thats not the problem.
the problem is, that some MTA are configured that way, that them haven't 
  the AUTH capability when not in secure-mode. Means, a ehlo before 
starttls will give a list without AUTH but with STARTTLS and when setup 
a secure connection then ehlo will give a list with AUTH but without 
STARTTLS. So them make sure, that users just authorize if connection is 
crypted and don't sending plain passwords.

So the question means, if there is another trick possible to get 
libetpan sending the AUTH without sending a ehlo again after starttls 
'cause mailsmtp_auth looks for the AUTH flag set inside the structures 
of smtp.

If not - it's not a real problem, it's just not such nice sending 
commands twice.

Rajko



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.