procmail
[Top] [All Lists]

Re: Thanks - How to subvert global procmailrc

2004-11-19 14:21:17
On Fri, Nov 19, 2004 at 02:51:20PM -0600, David W. Tamkin wrote:
Dallman Ross wrote:

LOGFILE = /dev/null
SWITCHRC = foo
LOGFILE = what_it_was

The drawback to that is that you go into the other rcfile with LOGFILE 
set to /dev/null.

Um.  Yeah.  :-)  I gues that is a drawback.


 LOGFILE = /dev/tty

Great!

Yeah, it's interesting.  Doing it that way, though, I can't get the
error redirection to take, meaning I get the whole output and can't
can't perform pipe operations on it.

E.g.,

  sh -c "procmail -m some_rcfile 2>&1" < message | grep something

is something I like to do.  But with LOGFILE=/dev/tty, the "2>&1"
doesn't help.

-- 
dman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>