At 11:20 PM -0600 2/17/01, Justin Shore wrote:
Procmail outputs the log message after performing the recipe action.
If you set LOGFILE to /dev/null before a recipe, it won't be logged
(well, it'll be logged to /dev/null...).
Ok, so if I generally don't want it to log anything I should set
LOGFILE to /dev/null at the top (globally more or less) and then
redefine it to an actual log file for the specific recipes I want
logged. Sound right? I don't have any recipes that should match
everything or default actions (unless "just deliver the mail" is
considered an action) so I should make the default log be null.
I'll give it a whirl real quick.
Strike that. Tested it and it worked like a champ as well.
That leaves me with that one misdirected mail problem. Can't believe
I let that one get by me.
Justin Shore K-State Linux Distro Mirror, Sysadmin
procmail mailing list