procmail
[Top] [All Lists]

Re: Up to what point are message parts searched?

2005-08-08 21:48:59
On Aug 8, 2005, at 3:15 PM, grok(_at_)resist(_dot_)ca wrote:

Assuming that the below is syntactically correct:

:0:
* H ?? ^From:(_dot_)*bar(_at_)foo\(_dot_)org
* B ?? [Ff]oo[Bb]ar
| /usr/bin/bzip2 -c9 >> foobar.bz2


1: Does procmail "search" the header ONLY up to the line
containing the match --

Yes.

... and then dump the header to move on to the next rule?

Define, "Dump", please.

2: Does this entire header get loaded for scanning first --
or does procmail just load it line by line?

The entire message is resident in memory.

3: Same two questions above for the body of the message.

Same two answers.

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
   and Usenet Registration handy..."


____________________________________________________________
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