From 4b55bb913c48db9ccd1413875f52ea4b5e21a503 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 2 Jul 2014 16:13:18 +0000 Subject: only ignore undesirable Auto-Submitted headers defined in RFC3834 (#16190) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13206 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mail_handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 1b4600536..2e25a294f 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -74,7 +74,7 @@ class MailHandler < ActionMailer::Base cattr_accessor :ignored_emails_headers @@ignored_emails_headers = { 'X-Auto-Response-Suppress' => 'oof', - 'Auto-Submitted' => /^auto-/ + 'Auto-Submitted' => /^auto-(replied|generated)/ } # Processes incoming emails -- cgit v1.2.3