On Mon, Aug 08, 2005 at 06:42:36PM -1000, Michael J Wise wrote:
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.
However, while the syntax shown also appears to me to be correct,
the upper/lower-case matching is pointless in this recipe, since
procmail is case-insensitive by default. (Set the D-flag to
change that.)
Dallman
____________________________________________________________
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