The attached patch improves the content of the bounce log, determining the message-id of the bounced message.
This should make it possible for mmdsr or similar tools to determine what percentage of e-mails bounced.
The patch also exercises the message-id code in test_bounces.py. Currently it fails because some of the messages in tests/bounces/ have mbox-style 'From ' lines,
and this seems to make email.Message ignore the headers; this causes test_bounces.py to fail at the moment after the patch is applied.
Log in to post a comment.