#35365: Add RFC 3824 Auto-Submitted header to emails by default
-------------------------------------------+------------------------
Reporter: Tobias Bengfort | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (Mail) | Version: 5.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
RFC 3824 (
https://www.rfc-editor.org/rfc/rfc3834) defines the `Auto-
Submitted` header for emails to avoid mail loops. The vast majority of
mails sent by Django should use `Auto-Submitted: auto-generated`. The only
exceptions I can think of are:
- Django is used in a bigger system that also receives emails. In that
case it may also be appropriate to use `Auto-Submitted: auto-replied` in
some cases.
- Django is used to implement an email client. In that case `Auto-
Submitted` should not be used.
Since these are rare exceptions, I think Django should use `Auto-
Submitted: auto-generated` by default. Users who need more control should
have to explicitly disable this behavior.
I did not do a larger survey, but just from the mails I currently have in
my inbox I noticed that gitlab and unattended-upgrades both use `Auto-
Submitted`.
--
Ticket URL: <
https://code.djangoproject.com/ticket/35365>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.