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.3.0~440 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8cadb36e1c05a3a9ecb07350b4b2b585b987403;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