NYCPHP Meetup

[nycphp-talk] Re: Monitoring for Bounce Mail

Jeff Loiselle jeff.loiselle at gmail.com
Fri Apr 29 01:58:52 EDT 2005


What I've always done in the past is set the Return-Path header in the
email to a specific bounce address (done via the MTA) plus user
identifier token.

For example: bounce_address+list_member_email at domain.com

Then in my mail configuration, I pipe that address into a php script..
look for the Return-Path header.. and most likely if it's coming back
to this address it's a bounce (unless you really feel like recognizing
hundreds of bounce formats). Then I remove that list member from my
database.



More information about the talk mailing list