diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-24 12:33:36 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-24 12:33:36 +0100 |
commit | a8cadb36e1c05a3a9ecb07350b4b2b585b987403 (patch) | |
tree | beefa716c381723c28ba28bc77334a39ce73f0f0 /rules/regexp | |
parent | 517299eeedecb182bafa4937de5f8daabe8c10f3 (diff) | |
download | rspamd-a8cadb36e1c05a3a9ecb07350b4b2b585b987403.tar.gz rspamd-a8cadb36e1c05a3a9ecb07350b4b2b585b987403.zip |
[Fix] Fix possible FP in TRACKER_ID rule
Diffstat (limited to 'rules/regexp')
-rw-r--r-- | rules/regexp/headers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |