From 3f137cb3a9ec0affe794af5aacabe96d349574fb Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 5 Feb 2014 09:54:36 -0800 Subject: [PATCH] Fix rule MISSING_MIMEOLE for IPB forum Add exception for Invision Power Board forum --- conf/lua/regexp/headers.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/lua/regexp/headers.lua b/conf/lua/regexp/headers.lua index e3978d429..1ea079159 100644 --- a/conf/lua/regexp/headers.lua +++ b/conf/lua/regexp/headers.lua @@ -360,7 +360,8 @@ 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' -reconf['MISSING_MIMEOLE'] = string.format('(%s) & !(%s) & !(%s) & !(%s) & !(%s)', has_msmail_pri, has_mimeole, has_squirrelmail_in_mailer, xm_mso12, xm_cgpmapi) +local has_ips_php_in_mailer = 'X-Mailer=/^IPS PHP Mailer/' +reconf['MISSING_MIMEOLE'] = string.format('(%s) & !(%s) & !(%s) & !(%s) & !(%s) & !(%s)', has_msmail_pri, has_mimeole, has_squirrelmail_in_mailer, xm_mso12, xm_cgpmapi, has_ips_php_in_mailer) -- Header delimiters local yandex_from = 'From=/\\@(yandex\\.ru|yandex\\.net|ya\\.ru)/iX' -- 2.39.5