Re: [Exim] Long lines in message body

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Peter Rindfuss
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Long lines in message body
On Fri, 12 Dec 2003, Peter Rindfuss wrote:

> I would like to restrict the length of lines in the body of an
> incoming message. We have an email client that chokes on long lines,
> and sometimes we receive messages (usually spam) with lines with
> several thousand chars in length (usually HTML). Is there a way to do
> this in an ACL?


No. Unless you use ${run and read the spool file directly.

> BTW, shouldn't Exim always do something against such long lines?
> RFCs 821, 2821 and 2822 state that lines in messages *must* not be
> longer than 1000 characters, including crlf.


(a) Exim is liberal in what it accepts.
(b) It certainly should not mess with message content.

Remember that MUST in an RFC means "must if you want to be sure of
interworking with most of the Internet". It does not, and cannot, mean
"must be rejected if not observed" because there's no way of enforcing
that.

--
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