Defect #15999

Ignoring out of office emails

Added by Simon Whittaker over 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email receiving
Target version:-
Resolution:Fixed Affected version:2.4.2

Description

With reference to issue #10607 which was a problem in redmine 1.4, we are seeing this issue in redmine 2.4 - the headers in the auto reply are:

From: User Name <>
To:
Message-ID: <>
Subject: Reply Re: test
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Precedence: bulk
X-Autoreply: yes
Auto-Submitted: auto-replied

This is currently causing a loop of mail on updates to issues.

Please let me know if I can provide any more information.

Best wishes

Simon

x-autoreply.diff Magnifier - Skip 'X-Autoreply: yes' emails (1.07 KB) Karel Pičman, 2014-11-12 14:41


Related issues

Related to Redmine - Feature #11338: Exclude emails with auto-submitted => auto-generated Closed
Related to Redmine - Feature #10607: Ignore out-of-office incoming emails Closed
Related to Redmine - Patch #16190: Relax rejections based on Auto-Submitted header Closed
Related to Redmine - Feature #13425: Ignore X-Autoreply mails Closed

Associated revisions

Revision 13738
Added by Toshi MARUYAMA almost 3 years ago

ignore X-Autoreply mails (#15999, #13425)

Contributed by Karel Pičman.

History

#1 Updated by Jan Niggemann (redmine.org team member) over 3 years ago

  • Related to Feature #11338: Exclude emails with auto-submitted => auto-generated added

#2 Updated by Jan Niggemann (redmine.org team member) over 3 years ago

  • Related to Feature #10607: Ignore out-of-office incoming emails added

#3 Updated by Jan Niggemann (redmine.org team member) over 3 years ago

This should not happen, because r9924 already taks care of
'Auto-Submitted' => /^auto-/...

#4 Updated by Toshi MARUYAMA over 3 years ago

  • Description updated (diff)

#5 Updated by Toshi MARUYAMA over 3 years ago

  • Related to Patch #16190: Relax rejections based on Auto-Submitted header added

#6 Updated by Toshi MARUYAMA over 3 years ago

  • Status changed from New to Needs feedback

Jan Niggemann (redmine.org team member) wrote:

This should not happen, because r9924 already taks care of
'Auto-Submitted' => /^auto-/...

Indeed.
Could you recheck?

#7 Updated by Karel Pičman almost 3 years ago

I've a problem that the header doesn't contain neither Auto-Submitted: auto-replied nor X-Auto-Response-Suppress: All but X-Autoreply: yes only:

X-Mailer: Winmail
X-WM-Report: autoreply
X-Autoreply: yes

Therefore Redmine processes such an email and consequently causes an email notification loop.

#8 Updated by Karel Pičman almost 3 years ago

A patch to skip emails with X-Autoreply: yes in the email header.

#9 Updated by Toshi MARUYAMA almost 3 years ago

#10 Updated by Toshi MARUYAMA almost 3 years ago

  • Status changed from Needs feedback to Closed

Karel Pičman wrote:

A patch to skip emails with X-Autoreply: yes in the email header.

Committed in trunk r13738, thanks.

#11 Updated by Toshi MARUYAMA almost 3 years ago

  • Resolution set to Fixed

Also available in: Atom PDF