I faced a similar problem w/ a web site's mailing list for which I was responsible. This was sending out tens of thousands of emails weekly. One of the biggest hassles was distinguishing bounces from full mailboxes/downed servers from those who had cancelled their accounts or had them deactivated.

This was on a Windoze environment with an Exchange server. I spent days trying to come up with an effective way to collect, parse and act upon the bounces when suddenly, in a zen-like moment of enlightenment, it occurred to me that I could just parse the web server's SMTP logs. About eight hours later (yeah, I'm slow), I had a Perl script that worked like a charm.

I ended up doing an end-run around the problem with trying to distinguish temporary failures from more permanant ones, though. It was still pretty difficult to distinguish even with the SMTP logs. My solution was to parse the logs for the previous four weeks, and if four failures in different weeks were found for a given email address, they were removed from the mailing list. This seemed to adequately cover temporary problems.

Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"

In reply to Re: email bouncebacks by Art_XIV
in thread email bouncebacks by jalspach

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.