Re: [exim] Header size

Top Page
Delete this message
Reply to this message
Author: Christian Gregoire
Date:  
To: Lena, exim-users
Subject: Re: [exim] Header size
Thanks ! I use a printed version of the v4.50 documentation, where this variable didn't exist. I can now issue a 5xx error during the SMTP session when it reaches 20kbytes, rather than sending a mailerdaemon with 'local delivery failed' afterwards.

The full story is that my MDA, a slighly modified version of the Atmail MDA, crashes when accessing the header via the Maill::Message Perl object :

Sep 29 15:24:30 webmail-5 exim[32417]: 1Mscgu-0008Qe-Gd ** <HIDDEN_ADDRESS> R=routeur T=transport: Child process of relais_externe_test transport (running command "/path/to/mymda.pl $sender_address $local_part@$domain") was terminated by signal 9 (Killed)



----- Original Message ----
From: "Lena@???" <Lena@???>
To: exim-users@???
Sent: Tuesday, September 29, 2009 1:22:15 PM
Subject: Re: [exim] Header size

> From: Christian Gregoire


> Is there a way, at ACL DATA time, to check for the header size ? I have
> a buggy MDA which crashes when handling messages such as those from
> mailing lists where recipients are not hidden thus with many header lines.


You can check, but what'd you do?

condition = ${if >{${strlen:$message_headers_raw}}{10000}}

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