]> source.dussan.org Git - redmine.git/commitdiff
Ignore auto reply messages from Exchange server (#19322).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 14 Mar 2015 08:53:55 +0000 (08:53 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 14 Mar 2015 08:53:55 +0000 (08:53 +0000)
Patch by Sebastian Paluch.

git-svn-id: http://svn.redmine.org/redmine/trunk@14082 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/mail_handler.rb

index 825fdf546c496b88db41b0ce1bb069e909f3e3f4..4b63ac53dad1fce230cd7119578cc2eee360fa7a 100644 (file)
@@ -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'
   }