From b5bf65e834e4b77a425fb772445f9bfe4cf48e64 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 14 Mar 2015 08:53:55 +0000 Subject: [PATCH] Ignore auto reply messages from Exchange server (#19322). Patch by Sebastian Paluch. git-svn-id: http://svn.redmine.org/redmine/trunk@14082 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mail_handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 825fdf546..4b63ac53d 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -73,7 +73,7 @@ class MailHandler < ActionMailer::Base cattr_accessor :ignored_emails_headers @@ignored_emails_headers = { - 'X-Auto-Response-Suppress' => 'oof', + 'X-Auto-Response-Suppress' => /(oof|all)/, 'Auto-Submitted' => /\Aauto-(replied|generated)/, 'X-Autoreply' => 'yes' } -- 2.39.5