From 22f9f56f87aead342dd13788042894b9848f592f Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Wed, 23 Aug 2017 10:34:18 +0300 Subject: [Minor] Suppress base64 symbols for mails sent with 1C v8 --- rules/regexp/headers.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'rules') diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 4d9d2c77d..b375f6598 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -572,6 +572,14 @@ reconf['YANDEX_RU_MAILER'] = { group = 'header' } +-- Detect 1C v8.2 and v8.3 mailers +reconf['MAILER_1C_8'] = { + re = 'X-Mailer=/^1C:Enterprise 8\\.[23]$/H', + score = 0, + description = 'Sent with 1C:Enterprise 8', + group = 'header' +} + -- Two received headers with ip addresses local double_ip_spam_1 = 'Received=/from \\[\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\] by \\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3} with/H' local double_ip_spam_2 = 'Received=/from\\s+\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\s+by\\s+\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3};/H' -- cgit v1.2.3