[ZendTo] Re: How to handle bounces

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


This is trivial to implement, and appears to work just fine with Postfix 
as well as sendmail.

Edit /opt/zendto/lib/NSSDropbox.php
Go to line 894 and you should find a line saying
               $headers
Add a comma onto the end of that line, and insert a new line immediately 
below it that says this:
               '-f "'.$fromAddr.'"'
Save and exit your editor.
Run the command
     php -l NSSDropbox.php
(that's a lower-case el in the line above)
to test that you haven't made any mistakes, you should get a reassuring 
message back from that command.

Try sending a new dropoff to an address that doesn't exist. You should 
get an email back saying that your message couldn't be delivered as the 
user is unknown.

Please can you try this and let me know if it works for you too!

If it does, I will put it in the next release.

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