I have a few scripts that automatically send out small email notifications when necessary. I get a small number of auto-response messages (e.g. out-of-office or vacation) back from these. Is there a header I can add to the email that will indicate to (well-behaved) auto-responders that I'm not interested in any response?
See also this related StackOverflow question.
Adding a "
List-Id
" header or a "Precedence: list
" header should solve the problem for well behaved auto-responders. The behavior comes from the original vacation program for UNIX. Among other things it will not respond to an email that appears to come from a list. You would probably be better off with the List-Id header line than taking chances with the precedence setting but try both.I believe
Precedence: Bulk
is the canonical setting, but the number of people whose autoresponders obey it is miniscule. Fact is, the vast majority of autoresponders are badly behaved.No, there nothing that always works.
#There's standards
sending wuth a null return path (empty envelope sender, SMTP
MAIL FROM:<>
) should prevent autotoresponders (https://www.rfc-editor.org/rfc/rfc5321#section-4.5.5)setting an Auto-Submitted header should also work (https://www.rfc-editor.org/rfc/rfc3834#section-2)
#And then there's Microsoft... section 2.2.3.2.14 in https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcmail/e489ffaf-19ed-4285-96d9-c31c42cab17f (URL subject to expire at Microsoft's whim)[MSOXCMAIL] 2.2.3.2.14
says
...
Those little notes are most revealing
so presubamly
Exchange Server 2007
or newer wantX-Auto-Response-Suppress
and Outlook wantsPrecedence
Note that this is ignoring https://www.rfc-editor.org/rfc/rfc3834#section-2
The best move is probably to do all four, or as many of these as are possible.