]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix possible FP in TRACKER_ID rule
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 24 May 2016 11:33:36 +0000 (12:33 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 24 May 2016 11:33:36 +0000 (12:33 +0100)
rules/regexp/headers.lua

index 190887c23c768b588afe3fd284354e26ccb188f4..afd0633cd90a8e078fce3f1cfd80aa7bb80a5b6c 100644 (file)
@@ -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