[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suppressing error-on-error

On Wed, Sep 10, 2003 at 06:04:40PM +0100, Alex Kiernan wrote:
> Is there any way I can suppress generation of error-on-error messages
> in the postman directory?
> We're using ZMailer to collect bounces & we're ending up with vast
> numbers of messages in postman/ as a result of double bounces which
> frankly we're never going to look at.
> If not, how should I go about adding it?

Maybe a daily cron run:

  find /var/postoffice/postman -type f -mtime +6 -print | xargs rm -f

Codewise, there is magic 3-value playing with "no_error_report" variable
in  scheduler/msgerror.c  file.

another way to silence is, I think (my head hurts following that code's
logic -- and I wrote it years ago :-/ ) by adding following line into top
of the  MAILSHARE/forms/deliver  file:
    ADR Bcc: <nobody>

Then the error messages will always have at least one recipient: local
mr. Nobody.

> -- 
> Alex Kiernan, Principal Engineer, Development, THUS plc
/Matti Aarnio	<mea@nic.funet.fi>
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi