Opened 19 years ago
Closed 19 years ago
#5288 closed enhancement (fixed)
Outgoing mails should contain headers which prevent out-of-office replies
| Reported by: | Owned by: | Emmanuel Blot | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | notification | Version: | devel |
| Severity: | normal | Keywords: | patch |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
When using email2trac, out-of-office replies will create comments to the ticket. This is because outgoing mail which gets sent by Trac doesn't set the Precedence or Auto-Submitted header, which let autoresponders know they should not reply to the ticket. Here's a simple patch which makes sure these headers get set for mail which is sent by Trac.
Attachments (1)
Change History (9)
by , 19 years ago
| Attachment: | no_autoreply.diff added |
|---|
comment:1 by , 19 years ago
For more information on the Precedence and Auto-Submitted headers, see the RFC on this subject: RFC 3834
comment:2 by , 19 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
You should create this ticket on TracHacks, as the th:EmailtoTracScript software is maintained there.
comment:3 by , 19 years ago
| Resolution: | wontfix |
|---|---|
| Status: | closed → reopened |
Hm, sorry, didn't realize at first that the patch was for Trac itself.
comment:4 by , 19 years ago
RFC2076 states that use of Precedence header is Non-standard,controversial,discouraged.
I'd therefore go for the Auto-Submitted header, but avoid applying the Precedence header.
Comments?
follow-up: 6 comment:5 by , 19 years ago
I agree in principle, but in practice most servers don't look at Auto-Submitted yet. Exchange, for example, does look at Precedence: Bulk and Precedence: List but not at the Auto-Submitted header. So only setting Auto-Submitted isn't very useful currently.
comment:6 by , 19 years ago
Replying to anonymous:
I agree in principle, but in practice most servers don't look at
Auto-Submittedyet. Exchange, for example, does look atPrecedence: BulkandPrecedence: Listbut not at theAuto-Submittedheader. So only settingAuto-Submittedisn't very useful currently.
Ok, so let's use the Precedence header as well. I also had a look at several ML engine, and they use this header as well, so it seems to be pretty standard even if its real effect seems to vary from one MTA to another.
I'll commit the patch soon.
comment:7 by , 19 years ago
| Milestone: | → 0.11 |
|---|
comment:8 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
Thanks for the patch. Applied in [5510].



Patch to set headers which prevent autoreplies