diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-24 12:31:06 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-24 12:31:06 +0100 |
commit | 517299eeedecb182bafa4937de5f8daabe8c10f3 (patch) | |
tree | 41444871665aee5e91ccee6773b2fe3746abe86a | |
parent | 74b6dadc119b54322a926ad68a6ab445016da243 (diff) | |
download | rspamd-517299eeedecb182bafa4937de5f8daabe8c10f3.tar.gz rspamd-517299eeedecb182bafa4937de5f8daabe8c10f3.zip |
[Fix] Simplify MISSING_MIMEOLE rule
-rw-r--r-- | rules/regexp/headers.lua | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 8a3dad9e7..190887c23 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -355,12 +355,11 @@ reconf['FAKE_REPLY_C'] = string.format('(%s) & (%s) & (%s) & !(%s)', subj_re, mi 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_ips_php_in_mailer = 'X-Mailer=/^IPS PHP Mailer/' local has_office12145_in_mailer = 'X-Mailer=/^Microsoft (?:Office )?Outlook 1[245]\\.0/' -reconf['MISSING_MIMEOLE'] = string.format('(%s) & !(%s) & !(%s) & !(%s) & !(%s) & !(%s) & !(%s)', - has_msmail_pri, has_mimeole, - has_squirrelmail_in_mailer, xm_mso12, - xm_cgpmapi, has_ips_php_in_mailer, +reconf['MISSING_MIMEOLE'] = string.format('(%s) & !(%s) & !(%s) & !(%s)', + has_msmail_pri, + has_mimeole, + has_squirrelmail_in_mailer, has_office12145_in_mailer) -- Header delimiters |