[ZendTo] Re: How to handle bounces

Jules Jules at Zend.To
Fri Mar 23 10:09:13 GMT 2012


I can easily set the "Errors-To" header, but that's been deprecated and 
the errors now go to the enveloper sender address.

The PHP "mail" function (which is what I use to send the messages) does 
have an "additional_parameters" parameter, in which I could pass the 
envelope sender address *if* your MTA recognises the "-f" command-line 
parameter and does something sensible with it (i.e. use it to set the 
envelope sender address).

You will still need to make your www-data user a "trusted user" in your 
MTA configuration. But it looks like Postfix doesn't need you to do 
that, as it will just log the UID of the real sending user in the 
Received: header it generates as it gets the message.

I'll implement this and put out a beta for you to test.

Jules.

On 13/03/2012 18:47, Marlon R Deerr wrote:
> This sounds like a good request to me. To have the NDR go back to the original sender would be ideal. Not sure why much work would be involved if at all possible.
> -------- Original Message -------- From: Alexander Fisher Sent: Tue, Mar 13, 2012 11:8 AM To: zendto at zend.to CC: Subject: [ZendTo] How to handle bounces Hi again!
>
> First off, thanks Jules for your super fast responses to my other
> queries.  It's really appreciated.
>
> Is there a recommended way of handling bounces?  Currently, if one of
> my users (internal in this case) mistypes a dropoff recipient email
> address, my smarthost is unable to deliver the mail and it generates a
> bounce to www-data at dropoff.mydomain.com.  I'm about to set an entry in
> /etc/aliases on my zendto server so that these bounces come to me.  Is
> there a better way?  Ideally, the user making the original error would
> receive the bounce or perhaps zendto (or something else running on the
> server) could process the bounce and act accordingly.  Perhaps in an
> ideal world, zendto would prompt the user for a corrected email
> address?  Maybe this would be way too complicated and of limited
> value.  Dunno.
>
> Kind Regards,
> Alex
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CITP CEng
www.Zend.To

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
  I see it shining plain,
  The happy highways where I went,
  And cannot come again.' - A.E. Houseman



More information about the ZendTo mailing list