aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAlexey <AlexeySa@users.noreply.github.com>2014-02-05 09:54:36 -0800
committerAlexey <AlexeySa@users.noreply.github.com>2014-02-05 09:54:36 -0800
commit8ba82df4bbdffb4275d7202de896ccb77df47b35 (patch)
tree3406c29f85e4b920c5c9c21cd7dfb2de0a4e7795 /conf
parent863b89e6c9f54e0dd838bf47e68b61988dee8447 (diff)
downloadrspamd-8ba82df4bbdffb4275d7202de896ccb77df47b35.tar.gz
rspamd-8ba82df4bbdffb4275d7202de896ccb77df47b35.zip
Fix rule MISSING_MIMEOLE for IPB forum
Add exception for Invision Power Board forum
Diffstat (limited to 'conf')
-rw-r--r--conf/lua/regexp/headers.lua3
1 files changed, 2 insertions, 1 deletions
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'