aboutsummaryrefslogtreecommitdiffstats
path: root/rules/regexp
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2017-02-20 16:49:26 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2017-02-20 16:49:26 +0300
commit4c38bd4bd87033558057b876d5fa9013a91c9248 (patch)
tree7b70361a447ba8090d28dc243e14fcffa090be3a /rules/regexp
parent9e359e5105bcde3e1e6f6fa1ccf214e59c120243 (diff)
downloadrspamd-4c38bd4bd87033558057b876d5fa9013a91c9248.tar.gz
rspamd-4c38bd4bd87033558057b876d5fa9013a91c9248.zip
[Minor] Update mail.ru Received header regexp
as header format has been changed by mail.ru
Diffstat (limited to 'rules/regexp')
-rw-r--r--rules/regexp/headers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index 2aa7b139c..30ccd5d0f 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -567,7 +567,7 @@ reconf['FORGED_MUA_THEBAT_BOUN'] = {
-- Detect Mail.Ru web-mail
local xm_mail_ru_mailer_1_0 = 'X-Mailer=/^Mail\\.Ru Mailer 1\\.0$/H'
-local rcvd_e_mail_ru = 'Received=/^from \\[\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\] by e\\.mail\\.ru with HTTP;/mH'
+local rcvd_e_mail_ru = 'Received=/^(?:from \\[\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\] )?by e\\.mail\\.ru with HTTP;/mH'
reconf['MAIL_RU_MAILER'] = {
re = string.format('(%s) & (%s)', xm_mail_ru_mailer_1_0, rcvd_e_mail_ru),
score = 0.0,