procmail
[Top] [All Lists]

Re: counting how often my rules hit with LOGFILE

2002-08-27 11:57:43
On Tue, 27 Aug 2002, Fuzzy Logic wrote:

Thanks for all the help so far.  I'm getting closer.

What is the $MATCH in your rule, Udi?  It seems to expand to "" for me.
Also, I was hoping to avoid having the create individual logging means for
each rule (I have about 100).

        In one case I mean the string that you are looking for and it
        is saved in MATCH variable:

* ()\/The string that I m looking 4
{
LOG="found:$MATCH
"

        In other case you can put the string directly in the LOG line:

* The string that I m looking 4
{
LOG="found:The string that I have just looked b 4
"

Bye,
 Udi



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail