On 21 Aug 2001 15:27:38 -0500, Philip Guenther wrote:
The alternative is to instead make assignments to the LOG variable to
directly enter text into the log, ala:
# Assume loud headers are spam
:0
* ^Subject: [A-Z0-9\?!._]*$
{
LOG="cleanup.rc loud headers"
INCLUDERC=$PMDIR/purge.rc
}
I will try that.
In your original message you also wrote:
btw, purge.rc has this:
:0 hc:${HOME}/.procmail/headers.log.lock
| cat >> ${HOME}/.procmail/headers.log
{
:0
$TRASH
}
The above is syntactically incorrect: recipes have only one action.
It's not clear to me what the _intent_ of those lines are. You want to
save a copy of the header in $HOME/.procmail/headers.log, obviously.
Do you also want to put the entire message in $TRASH, or are you just
trying to give up on message processing there?
It was my intent to log the headers of messages that are about to be
trashed, and yes, I want to send the entire message to the trash.
thanks
--
Andrew
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail