diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-14 08:53:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-03-14 08:53:55 +0000 |
commit | b5bf65e834e4b77a425fb772445f9bfe4cf48e64 (patch) | |
tree | d771ccd77f1cff6da9996abfbed1f5bde160931d /app/models/mail_handler.rb | |
parent | 104615cb6fd378f1253addfcbeed18c39c74ac85 (diff) | |
download | redmine-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.rb | 2 |
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' } |