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

Re: rough zmailer treatment on .forward expansion

On Wed, Apr 30, 2003 at 03:32:59PM +0300, Matti Aarnio wrote:
> On Tue, Apr 29, 2003 at 03:24:26PM -0600, James MacKinnon wrote:
> > Hello all,
> > 
> > Does anyone know why zmailer (2.99.55) might be
> > not handling empty .forward expansion in a graceful way?

Now depending upon your definition of "gracefull", my current
CVS code produces:

  From:   Error Channel <MAILER-DAEMON>
  To:     testuser
  Subject: Error in /home/testuser/.forward .forward expansion
  Date:   Wed, 30 Apr 2003 16:39:07 +0300

  NO valid recipient addresses!
  Verify source file protection/ownership/access-path, and content.
  Current effective UID = 0

and marks that message as internally generated error message, and
will not generate another message for it, when sending thru 'testuser'.

The script does now proceed onwards beyond failed  ~testuser/.forward
file expansions, and eventually delivers the original message along
with this diagnostic report to the intended recipient's local delivery
channel ( = his/her mailbox, usually ).

It does, still, produce a BCC of this message to  <postoffice>  address.

What it does no longer, is to cause self-feeding message generation.

The necessary "loop-break" infrastructure was added at 2.99.55-patch1.
(Also simplified   isErrChannel  flag variable setting was added there.)

> > Cheers,
> > James S. MacKinnon           Office: P-139 Avadh-Bhatia Physics Lab
> /Matti Aarnio	<mea@nic.funet.fi>
/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