From: Vsevolod Stakhov Date: Tue, 24 May 2016 11:33:36 +0000 (+0100) Subject: [Fix] Fix possible FP in TRACKER_ID rule X-Git-Tag: 1.2.7~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=10b6869575977839c51531fd169a71b7459f7236;p=rspamd.git [Fix] Fix possible FP in TRACKER_ID rule --- 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