procmail
[Top] [All Lists]

logging actions of recipes

2001-08-21 10:44:40
I want to be able to log which recipes were responsible for certain
actions, so after looking at the tips at 

http://www.uwasa.fi/~ts/info/proctips.html#which 

I put this in a procmail filter file:


# Assume loud headers are spam
:0
* ^Subject: [A-Z0-9\?!._]*$
{
 :0
 { RULE="cleanup.rc loud headers" }
 INCLUDERC=$PMDIR/purge.rc
}


The problem is that although the log shows the usual entries for mail
that is sent to /dev/null, there is no "RULE" entry in the log.  What am
I doing wrong?

btw, purge.rc has this:

:0 hc:${HOME}/.procmail/headers.log.lock
| cat >> ${HOME}/.procmail/headers.log
{
   :0
   $TRASH
}





thanks

--
Andrew


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

<Prev in Thread] Current Thread [Next in Thread>