title: Finding "bad email addresses" in a mailbox
body: <p>I have programmatic access to a POP3 mailbox plus access to archived emails stored in a database. My objective to to find out bad email addresses -- the email addresses from which emails were returned (bounced) with status or messages such as:</p>
  
  <ul>
  <li>Undeliverable mail</li>
  <li>Delivery Status Notification (Failure)</li>
  <li>Undelivered mail returned to sender</li>
  <li>Emails from people such as mailer-daemon or postmaster</li>
  </ul>
  
  <p>Is there are way to  filter out such emails without using "heuristics"? Its easy to scan the subject for words like "undeliverable" or senders such as "mailer-daemon" but I want a better solution, if any.</p>
  
  <p>Note that I have access to mail headers for all POP3/database archived emails. Is there some header that I can use?</p>