From a8cadb36e1c05a3a9ecb07350b4b2b585b987403 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 24 May 2016 12:33:36 +0100 Subject: [PATCH] [Fix] Fix possible FP in TRACKER_ID rule --- rules/regexp/headers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 190887c23..afd0633cd 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -87,7 +87,7 @@ reconf['SUSPICIOUS_RECIPS'] = 'compare_recipients_distance(0.65)' reconf['SORTED_RECIPS'] = 'is_recipients_sorted()' -- Spam string at the end of message to make statistics faults -reconf['TRACKER_ID'] = '/^[a-z0-9]{6,24}[-_a-z0-9]{2,36}[a-z0-9]{6,24}\\s*\\z/isPr' +reconf['TRACKER_ID'] = '/^[a-z0-9]{6,24}[-_a-z0-9]{12,36}[a-z0-9]{6,24}\\s*\\z/isPr' -- From that contains encoded characters while base 64 is not needed as all symbols are 7bit -- 2.39.5