Pollywog <croak(_at_)shadypond(_dot_)com> writes:
On 21 Aug 2001 15:27:38 -0500, Philip Guenther wrote:
...
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.
No need to use 'cat' to append the message headers to a file: procmail's
normal mailbox delivery will do that much more efficiently. Also, we
can let procmail decide on the lockfile name:
:0 hc:
$HOME/.procmail/headers.log
:0
$TRASH
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail