procmail
[Top] [All Lists]

Re: testing the size of the header

2008-01-29 15:20:09
On Tue, January 29, 2008 4:44 pm, Professional Software Engineering wrote:
At 16:33 2008-01-29 -0500, R.G. Ball wrote:
Is there an easy test for the overall size in bytes of the header? I'm
getting some messages with enormous lists of recipients (from an Exchange
server natch) and when I try and forward these to an older machine for
reading they are getting rejected because the header is too big. I can
count all the recipients and use that but I thought I'd ask if anyone
knows a simpler way of determining just the header size.

* H > 5000

would evaluate true if the header size exceeds 5000 bytes.

Yeah I tested that Sean before I posted and with a message with a header
of 67968 bytes and this test

:0
* H > 2000
testfolder

I get this message in the log:

procmail: [14311] Tue Jan 29 17:14:33 2008
procmail: Assigning "SHELL=/bin/sh"
procmail: No match on "H > 2000"


Rich
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>