On Tue, 2007-06-19 at 09:33 +0100, Philip Hazel wrote:
> 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.

I don't think it's a good idea, cause this may change during delivery.
What if you add a header longer than $max_linelength?  Or remove the
header that caused $max_linelength?  You'd need /logic/, and logic means
bloat and possible bugs.

OK, if you add it, you're not allowed to retire...  OK?  :-)

Regards,
-- 
*Art

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to