diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-05-14 17:12:55 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-05-14 17:12:55 +0400 |
commit | 9b5d1aa9540e46fb2f820d01dbb63c035ab0af18 (patch) | |
tree | 27895ee6497b1b0612f82825f09d3bba5e688648 /conf | |
parent | cad2dd050f38c61d4a27c89a0f6d0e818c9af66d (diff) | |
download | rspamd-9b5d1aa9540e46fb2f820d01dbb63c035ab0af18.tar.gz rspamd-9b5d1aa9540e46fb2f820d01dbb63c035ab0af18.zip |
* Fix awfull bug in classifying when first statfile has twice weight than second...
* Fix undisclosed recipients detection
Diffstat (limited to 'conf')
-rw-r--r-- | conf/lua/regexp/headers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/lua/regexp/headers.lua b/conf/lua/regexp/headers.lua index b775f72a9..07f9a785c 100644 --- a/conf/lua/regexp/headers.lua +++ b/conf/lua/regexp/headers.lua @@ -33,7 +33,7 @@ reconf['R_BAD_CTE_7BIT'] = string.format('(%s) & (%s) & (%s)', r_ctype_text, r_c reconf['MISSING_TO']= '!header_exists(To)'; -- Detects undisclosed recipients -local undisc_rcpt = 'To=/^<?undisclosed-recipient/Hi' +local undisc_rcpt = 'To=/^<?undisclosed[- ]recipient/Hi' reconf['R_UNDISC_RCPT'] = string.format('(%s) | (%s)', reconf['MISSING_TO'], undisc_rcpt) -- Detects missing Message-Id |