Re: [Exim] Multiline SMTP error messages

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Paul Wilson
CC: exim-users
Subject: Re: [Exim] Multiline SMTP error messages
On Tue, 24 Jun 2003, Paul Wilson wrote:

> I have a requirement from $orkplace that needs to send users a pretty
> long error message under certain conditions during the SMTP session.
> Exim does this fine except it's breaking up the error message in to
> three lines each prefixed with 550.


There are rules in the RFCs about maximum line length.

> This wouldn't be a problem except
> most of our users are using Outlook Express which chokes on multiline
> error messages.


... which have been STANDARD for many, many years. Sigh.

> How can I get Exim to stick the entire error on a single
> line instead of breaking it up?


Hmm. Looking at the code, all I can see is logic for splitting the
message at embedded newlines, and this doesn't seem to have changed
between 4.10 and 4.14. I can't see any code for splitting at
non-newlines. What is your configuration that generates this message?

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book