procmail
[Top] [All Lists]

Re: Minor problem delivering mail to one or more of several people

1998-04-26 19:54:14
"Gary" == Gary Oberbrunner <garyo(_at_)genarts(_dot_)com> writes:

Gary> Lastly, I want to deliver it to everyone if no rules matched.

Gary> do otherwise! I want to do nothing, but if I get to this point
Gary> in the .procmailrc, procmail will deliver the mail to $DEFAULT,
Gary> and that's what will go into the log file. So my log file always
Gary> says "/dev/null" got the message, which is ugly. Is there
Gary> anything I can do about that?

Try this:

:0
* ? test -z "$LASTFOLDER"
! karl(_at_)real-address gary(_at_)real-address kathryn(_at_)real-address

# Make procmail silent about this last recipe
LOGABSTRACT=no

# Throw away the message, since it is already delivered
# (You don't need an `E' flag: if the previous recipe matched,
# procmail will exit anyway.)
:0
/dev/null

-- 
G. ``Iggy'' Geens
Home: <ggeens(_at_)iname(_dot_)com> - Work: 
<ggeens(_at_)inetgate(_dot_)capgemini(_dot_)nl>
``I am *more* than your God. - I am your Game master.''

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