Re: [Exim] Broken pipe when sending long lines during DATA

Top Page
Delete this message
Reply to this message
Author: Adrian Phillips
Date:  
To: exim-users
Subject: Re: [Exim] Broken pipe when sending long lines during DATA
>>>>> "Tore" == Tore Anderson <tore@???> writes:

    Tore>   I'm setting up some Exim boxes to relay mail coming in
    Tore> to/out from a cluster of Netscape Messaging servers.  These
    Tore> are somewhat brain-dead, as they gleefully send error
    Tore> messages during the DATA when they're receiving messages
    Tore> over SMTP.  Before receiving the terminating ".", that is.
    Tore> This becomes a real problem when Exim is sending very long
    Tore> lines during DATA.  The Messaging server seem to have a
    Tore> fixed limit of 16384 characters per line, and if that limit
    Tore> is exceeded, it immediately spits out a 550.  Exim seems to
    Tore> handle this well enough in most cases, and creates a bounce
    Tore> á la:


    Tore>     SMTP error from remote mailer after end of data: host
    Tore> foo [1.2.3.4] 550 DATA line too long (Max 16384)


We have the same problem (and not that far away from you either
:-). By the way the maximum line length is configurable in Netscape's
server but we were told it is a security risk to allow longer
lines. Its not a major problem for us as the only message we receive
with this long a line is generated by one of our own systems which
I've hacked up a little to avoid it.

As for solving it in Exim I'm not sure how you'd do it apart from
using embedded perl.

Sincerely,

Adrian Phillips

--
Who really wrote the works of William Shakespeare ?
http://www.pbs.org/wgbh/pages/frontline/shakespeare/