Re: [exim] line length detection

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: John Jetmore
CC: exim-users
Tárgy: Re: [exim] line length detection
On Mon, 18 Jun 2007, John Jetmore wrote:

> has anyone found a clever way to detect line lengths from inside of exim?
> I have a downstream MTA that drops the tcp connection one detection of
> line lengths in the body greater than a certain number. Ideally I'd like
> to detect these from a router and deliver them into a bsmtp file to get
> them out of the queue, but I have to be able to detect them first.


I don't think it would be too hard for Exim to remember the maximum line
length as it receives a message, in the same way as it remembers the
number of lines. Then you'd have $max_linelength to play with.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book