procmail
[Top] [All Lists]

Request for new procmail flag (turn off logging for pipe)

2001-03-22 19:14:36
Would it be possible to add a flag to specify that the output from the
pipe should not be logged if logging is on.  Right now I have the
following recipe:

  PATH=/bin:/usr/bin:/usr/bin
  ORGMAIL=$MAILDIR/Maildir/
  DEFAULT=$ORGMAIL
    
  :0
  * $^TO${LOGNAME}-bounce
  {
    EXITCODE=100
    :0 c
    | echo "Sorry, no mailbox here by that name. (#5.1.1) pm" >&2
    :0
    /dev/null
  }

I run procmail under qmail-local, so qmail will mail back anything it
receives on STDERR.  However, I would like to have the logging option, but
if I turn it on then my error messages will get thrown in the log and not
in the bounce message from qmail.

Thanks,
Nathan Shafer


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