* Charles Cazabon <[EMAIL PROTECTED]> [001210 10:19]:
> > 1. Is it possible to copy every bounce message generated to any user to
> > another user (in this case - me : i want to know when my users do not
> > succeede sending, or someone from the outside is sending mail to a wrong
> > address in my domain)
> 
> A bounce message is just another message to qmail.  What you could do is use
> the QUEUE_EXTRA feature to send copies of all mail to an alias (msglog is
> a common choice).  Then have a file ~alias/.qmail which does something like:
> 
> |grep -q MAILER-DAEMON && exit 99

Shouldn't this use ``||'' instead of ``&&''? If he wants to see only the
bounces...

Also, it might be a good idea to use the mess822 package to only grep for
MAILER-DAEMON in the headers, where it makes sense.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
For mad scientists who keep brains in jars, here's a tip: why not add a slice 
of lemon to each jar, for freshness?
 (Jack Handey)

Reply via email to