Re: [Exim] TLS Issue

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: John P Connor
CC: exim-users
Subject: Re: [Exim] TLS Issue
On Mon, 17 Feb 2003, John P Connor wrote:

> Exim fails to complete a TLS session with an Exchange 5.5 server, using a
> private domain. The line in the ESMTP dialogue it doesn't like is:
>
> FROM:<Administrator@???> SIZE=593
>
> Exim replies with:
>
> 501 <Administrator@???> SIZE=593: malformed address: SIZE=593 may
> not follow Administrator@???>


I presume you mean MAIL FROM and not just FROM. This error is given by
Exim when a client tries to use ESMTP features such as SIZE, without
first having issued an EHLO to indicate that it is using ESMTP rather
than SMTP. If there is a prior EHLO, and Exim has advertized SIZE (which
it does), it happily accepts SIZE= on MAIL FROM commands.

If this is a TLS issue, my suspicion is that the client is not issuing a
new EHLO after setting up the TLS session, as it is supposed to do. RFC
2487 says "The client SHOULD send an EHLO command as the first command
after a successful TLS negotiation." OK, it's only a SHOULD, but...

That RFC also says "The server MUST discard any knowledge obtained from
the client", and that is what Exim is doing.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.