mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-22 16:31:12 +00:00
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
This commit is contained in:
parent
104615cb6f
commit
b5bf65e834
@ -73,7 +73,7 @@ class MailHandler < ActionMailer::Base
|
|||||||
|
|
||||||
cattr_accessor :ignored_emails_headers
|
cattr_accessor :ignored_emails_headers
|
||||||
@@ignored_emails_headers = {
|
@@ignored_emails_headers = {
|
||||||
'X-Auto-Response-Suppress' => 'oof',
|
'X-Auto-Response-Suppress' => /(oof|all)/,
|
||||||
'Auto-Submitted' => /\Aauto-(replied|generated)/,
|
'Auto-Submitted' => /\Aauto-(replied|generated)/,
|
||||||
'X-Autoreply' => 'yes'
|
'X-Autoreply' => 'yes'
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user