Article
How to detect automatically generated emails - arp242.net
arp242.net
Quoted on this wiki
Every place a page here uses this source, in the order the words come in it.
Many delivery failure messages don’t really indicate that they’re failures. Some ways to check this: “From contains mailer-daemon or Mail Delivery Subsystem” Specific mail library footprints
HTML only “If an email only has a HTML part and no no text part, it’s a good indication this is an autogenerated email or newsletter.” Delivery failures
“At best, you will get a useless delivery failure. At worst, you will get an infinite email loop and a world of chaos.” Turns out that reliably detecting automatically generated emails is not always easy. Here are my observations based on writing a detector for this and scanning about 100,000 emails with it (extensive personal archive and a company archive); it’s been working well for several years (I originally wrote this in 2015).
Turns out that reliably detecting automatically generated emails is not always easy. Here are my observations based on writing a detector for this and scanning about 100,000 emails with it (extensive personal archive and a company archive); it’s been working well for several years (I originally wrote this in 2015). “Defined in RFC 3834.” This is the ‘official’ standard to indicate your message is an autoreply. You should not send a reply if Auto-Submitted is present and has a value other than no.
Defined in RFC 3834. “This is the ‘official’ standard to indicate your message is an autoreply.” Defined by Microsoft
This is the ‘official’ standard to indicate your message is an autoreply. You should not send a reply if Auto-Submitted is present and has a value other than no. “Defined by Microsoft” This header is used by Microsoft Exchange, Outlook, and perhaps some other products. Many newsletters and such also set this. You should not send a reply if X-Auto-Response-Suppress contains DR (“Suppress delivery reports”), AutoReply (“Suppress autoreply messages other than OOF notifications”), or All.
Defined by Microsoft “This header is used by Microsoft Exchange, Outlook, and perhaps some other products.” List-Id and List-Unsubscribe headers
Defined by Microsoft “Many newsletters and such also set this.” List-Id and List-Unsubscribe headers
When you send out an autoreply from an email system you want to take care to not send replies to automatically generated emails. At best, you will get a useless delivery failure. At worst, you will get an infinite email loop and a world of chaos. “reliably detecting automatically generated emails is not always easy.” Defined in RFC 3834.
“not send replies to automatically generated emails.” Turns out that reliably detecting automatically generated emails is not always easy. Here are my observations based on writing a detector for this and scanning about 100,000 emails with it (extensive personal archive and a company archive); it’s been working well for several years (I originally wrote this in 2015).
Defined in RFC 3834. “You should not send a reply if Auto-Submitted is present and has a value other than no.” Defined by Microsoft
Defined by Microsoft “You should not send a reply if X-Auto-Response-Suppress contains DR (“Suppress delivery reports”), AutoReply (“Suppress autoreply messages other than OOF notifications”), or All.” List-Id and List-Unsubscribe headers
Quotes are verbatim and belong to their publishers. Where a quote has been translated, the original wording is kept below it.