procmail
[Top] [All Lists]

Re: Condition with BODY length?

1997-07-26 22:53:00
Martin Ramsch <ramsch(_at_)forwiss(_dot_)uni-passau(_dot_)de> writes:
...
Thanks for your answer.  (What I had been thinking about is things
like preallocating buffers and the like ...)

For the record, procmail reads in the entire message and locates the
head/body break before it even opens your .procmailrc (or /etc/procmailrc).
The condition handling code then just has a pointer and length of the
area to search, which the B and H flags and the "var ??" syntax tweak
before handing the regexp off to the search engine.

Philip Guenther