[SLUG] procmail problem

From: patrick grantham (pwgrant@cssi-fl.com)
Date: Thu Jul 28 2005 - 15:52:08 EDT


The script below is a global procmail script:
VERBOSE=1
LOGFILE=/var/log/procmail.log
:0H
* [adv]|<adv>|{adv}|(adv)
LOG="Trapped msg labeled explicitly labeled as spam"
/var/spool/mail/spam

The log file (/var/log/procmail.log ) shows:
procmail: Match on "[adv]|<adv>|{adv}|(adv)"
procmail: Assigning "LASTFOLDER=LOG=Trapped msg labeled explicitly labeled
as spam"
procmail: Opening "LOG=Trapped msg labeled explicitly labeled as spam"
procmail: Error while writing to "LOG=Trapped msg labeled explicitly labeled
as spam"
procmail: Skipped "/var/spool/mail/spam"

First, the mail slips through to the user and not appended to the file
/var/spool/mail/spam
Second the "Trapped msg" text is not appended to the file
/var/log/procmail.log
Third, other regexps in the procmail file have hits, but no log messages are
written.

I don't understand why. Suggestions?

--Patrick

PS
Procmail seems nearly as cantankerous as autolisp!

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:34:36 EDT