Re: [Exim] Server Responses

Top Page
Delete this message
Reply to this message
Author: Matthew Byng-Maddick
Date:  
To: Exim Users
Subject: Re: [Exim] Server Responses
On Tue, Feb 12, 2002 at 03:43:59PM +0300, Odhiambo G. Washington wrote:
> Hello list,
>
> Does anyone know if multiple 220 responses can cause hiccups for other SMTP servers?
> If you connected to my server's SMTP port, you'll get:
>
> #
> wash@ns2 ('tty') ~ 77 -> telnet 0 25
> Trying 0.0.0.0...
> Connected to 0.
> Escape character is '^]'.
> 220-ns2.wananchi.com ESMTP Exim 3.33 #1 Tue, 12 Feb 2002 14:45:30 +0300 [Exim-3.33]
> 220-Welcome to Wananchi Online's ESMTP Server.
> #



Hopefully the latter line actually doesn't have the `-'. It should be:
220-some text
220-some more text
220 yet more text

The lack of a `-' indicates the end of data. Of course, some things may
break, as they assume structure in the 220 banner. They are broken, though
I believe that 2821 does in fact say that the 220 banner should start with
your hostname. I don't know if this applies per line, but there's probably
an implementation out there that does believe this to be the case.

There are also mailers that don't necessarily deal properly with multi-line
replies, and this is because they are crap too.

> Well, I know that's making a lot of noise, probably quite unecessary but is it
> forbidden by some RFC? Chances that it breaks something??


I would make it into:
| 220-ns2.wananchi.com ESMTP Exim 3.33 #1 Tue, 12 Feb 2002 14:45:30 +0300 [Exim-3.33]
| 220 ns2.wananchi.com Welcome to Wananchi Online's ESMTP Server.

instead, as this may help.

MBM

--
Matthew Byng-Maddick         <mbm@???>           http://colondot.net/