procmail
[Top] [All Lists]

Re: spawning an external app

2001-02-17 23:03:44
At 10:58 PM -0600 2/17/01, Philip Guenther wrote:
        :0 A
        alternate/mail/spool/$LOGNAME

The :0 A worked like a champ.  Thanks!

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.

Justin
--

--
Justin Shore       K-State Linux Distro Mirror, Sysadmin
macdaddy(_at_)vinnie(_dot_)ksu(_dot_)ksu(_dot_)edu
<http://vinnie.ksu.ksu.edu/mirror/rpm2html>
<ftp://vinnie.ksu.ksu.edu/pub/mirror/linux>

*Internet2 Users*
<ftp://quest.ksu.ksu.edu/pub/mirror/linux>
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail