procmail
[Top] [All Lists]

logging text (was Bouncing unwanted mail?)

2000-08-30 17:35:31
Collin suggested code for Adam that included this,

|        EXITCODE=67
| 
|        # Purpose of parameters to ":" is to create a nice entry in logfile
| 
|        :0 i
|        | : list.known.bad match EX_NOUSER

If you've added ":" to $SHELLMETAS or have an executable file basenamed ":"
somewhere in $PATH, that will put the text on the "Folder:" line of the log-
abstract; however, if neither of those is the case (and usually they won't
be), procmail will log an error that it couldn't execute ": list.known.bad.
match EX_NOUSER."  While that will get the words into the logfile, I wouldn't
consider it "a nice entry."

The LOG variable writes text to the logfile:

   EXITCODE=67
   LOG="list.known.bad match EX_NOUSER
"
   HOST

If you want to have the text on the Folder: line of the logabstract, this
does the trick:

   EXITCODE=67
   LASTFOLDER="list.known.bad match EX_NOUSER"
   HOST


_______________________________________________
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>