diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-08-13 12:06:07 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-08-13 12:06:43 +0100 |
commit | 149a6439a79d45f4ec0fb683385e4a44e3cf2862 (patch) | |
tree | 45877b1ac724d7c8d3f3ea8c137edadea808279c /rules | |
parent | 1ccdf4e9a698857ff0f6b9a78b40a843545d8d7e (diff) | |
download | rspamd-149a6439a79d45f4ec0fb683385e4a44e3cf2862.tar.gz rspamd-149a6439a79d45f4ec0fb683385e4a44e3cf2862.zip |
[Minor] Another fix for MISSING_MIMEOLE
Issue: #514
Diffstat (limited to 'rules')
-rw-r--r-- | rules/regexp/headers.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 3daa58c48..4889c0e7f 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -656,13 +656,13 @@ reconf['FAKE_REPLY_C'] = { local has_msmail_pri = 'header_exists(X-MSMail-Priority)' local has_mimeole = 'header_exists(X-MimeOLE)' local has_squirrelmail_in_mailer = 'X-Mailer=/SquirrelMail\\b/H' -local has_office12145_in_mailer = 'X-Mailer=/^Microsoft (?:Office )?Outlook 1[245]\\.0/' +local has_office_version_in_mailer = [[X-Mailer=/^Microsoft (?:Office )?Outlook [12]\d\.0/]] reconf['MISSING_MIMEOLE'] = { re = string.format('(%s) & !(%s) & !(%s) & !(%s)', has_msmail_pri, has_mimeole, has_squirrelmail_in_mailer, - has_office12145_in_mailer), + has_office_version_in_mailer), score = 2.0, description = 'Mime-OLE is needed but absent (e.g. fake Outlook or fake Exchange)', group = 'header' |