LuKreme wrote:
:0
* condition1
* condition2
* condition3
{
:0
* ()\/From:.*
{ LOG = $MATCH }
}
Huh? Why the extra level of braces? It's cleaner to write and easier
to read if you have this:
:0
* condition1
* condition2
* condition3
* ()\/From:.*
{ LOG = $MATCH }
For that matter, this would be better yet:
:0
* condition1
* condition2
* condition3
* ^\/From:.*
{ LOG = "$MATCH
" }
since surely you'll want to match only From: and not Resent-From: nor
X-Envelope-From: if they should precede From:, and surely also you'll
want a newline after the logfile entry.
____________________________________________________________
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