At 11:15 2002-02-14 -0700, Scott Palmer wrote:
I have a pretty extensive .procmailrc, I like to log based on what filter
snagged it. My log line looks like this example:
LOG=" -- Logging -- RULE=CRON FAILURE, MSGID=$MESSAGE_ID .... "
LOG=" -- Logging -- RULE=CRON FAILURE, MSGID=$MESSAGE_ID ....
"
What I do is actually have a variable which contains the script version,
which is emitted at the end of each log line in my spam.rc:
$SPAMVER = "
INFO: sometext
"
then:
LOG = "SPAM: sommereason$SPAMVER"
You could just as easily use:
NEWLINE="
"
LOG = "whatever$NEWLINE"
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail