summaryrefslogtreecommitdiffstats
path: root/app/models/mail_handler.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-03-14 08:53:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-03-14 08:53:55 +0000
commitb5bf65e834e4b77a425fb772445f9bfe4cf48e64 (patch)
treed771ccd77f1cff6da9996abfbed1f5bde160931d /app/models/mail_handler.rb
parent104615cb6fd378f1253addfcbeed18c39c74ac85 (diff)
downloadredmine-b5bf65e834e4b77a425fb772445f9bfe4cf48e64.tar.gz
redmine-b5bf65e834e4b77a425fb772445f9bfe4cf48e64.zip
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
Diffstat (limited to 'app/models/mail_handler.rb')
-rw-r--r--app/models/mail_handler.rb2
1 files changed, 1 insertions, 1 deletions
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'
}