Logging soft/hard bounces for database removal
Posted on 2006-06-02
We are running an Exchange 2003 mailserver with Message Tracking enabled, but I cannot seem to glean the information from it that I want. Simply put, we send out renewal/informational emails to our membership, and some of these bounce due to ISP changes, etc. We would like to create a list of all of the emails that were rejected, and whether it was a soft or a hard bounce. One way to do this would be to place all of the Undeliverable emails in a folder, and use a seperate program to parse these (the application side is easily done for us), however it appears that the Badmail folder seems to be more for incoming mail addresses that do not exist, and not for external. Am I incorrect in this, or is it a setting that I need to adjust?
Another method would be to use Message Tracking (already enabled) and parse the logfile to look for NDR results. However, I tried a few hard/soft bounces to see what it logged, and on each of them it showed "0" (delivered) in the 12th log field. Even if this were to work properly, I don't believe that it would give me the information that I really want, which is the NDR reason (mailbox no longer exists, mailbox full, etc).
I'm certain that this has been done before, but my google results are taking me nowhere just yet.