When the message bounces, the bounce email may or may not contain the original headers
as part of the bounce message. Most likely it will not (the bounce message itself
will have it's own headers and the original message would be quoted in the bounce
email, or at least should be). So I don't think you'll have much luck parsing the
headers on the bounce message itself. You'd have to parse the email body, or in some
cases the attachment that comes with a bounce message.
What I do is direct bounces to a mailbox in the form of "list_bounce_####@mydomain"
where #### is the list member's ID (which is unique across all the lists we host). I
then coded my RCPT/DATA templates to direct all messages to "list_bounce_*" to a
special processor (CF template) which then reads the ID from the address string and
takes appropriate action (log the error/suspend/delete).
Cheers,
-Max
==^=======================================================
This list server is Powered by iMS
"The Swiss Army Knife of Mail Servers"
--------------------------------------
To leave this list please complete the form at
http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license? Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]
==^=======================================================