Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#5288 closed enhancement (fixed)

Outgoing mails should contain headers which prevent out-of-office replies

Reported by: bart@… 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)

no_autoreply.diff (593 bytes ) - added by bart@… 18 years ago.
Patch to set headers which prevent autoreplies

Download all attachments as: .zip

Change History (9)

by bart@…, 18 years ago

Attachment: no_autoreply.diff added

Patch to set headers which prevent autoreplies

comment:1 by bart@…, 18 years ago

For more information on the Precedence and Auto-Submitted headers, see the RFC on this subject: RFC 3834

comment:2 by Christian Boos, 18 years ago

Resolution: wontfix
Status: newclosed

You should create this ticket on TracHacks, as the th:EmailtoTracScript software is maintained there.

comment:3 by Christian Boos, 18 years ago

Resolution: wontfix
Status: closedreopened

Hm, sorry, didn't realize at first that the patch was for Trac itself.

comment:4 by Emmanuel Blot, 18 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?

comment:5 by anonymous, 18 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.

in reply to:  5 comment:6 by Emmanuel Blot, 18 years ago

Replying to anonymous:

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.

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 Christian Boos, 18 years ago

Milestone: 0.11

comment:8 by Emmanuel Blot, 18 years ago

Resolution: fixed
Status: reopenedclosed

Thanks for the patch. Applied in [5510].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Emmanuel Blot to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.