diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-27 19:09:41 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-27 19:09:41 +0400 |
commit | be555f381e6b72d76c72a91b78291217e6a77c0b (patch) | |
tree | 604fa848de0aebd7fbe06363f65c31a8c3f43904 /conf | |
parent | 6d12fe03df4b366baa3ab7e5046a8a74bb6afecb (diff) | |
download | rspamd-be555f381e6b72d76c72a91b78291217e6a77c0b.tar.gz rspamd-be555f381e6b72d76c72a91b78291217e6a77c0b.zip |
* Fix lua representing of invalid ip (nil, not 255.255.255.255)
* Fix R_TO_SEEMS_AUTO rule (by citrin)
* Add multimap lua plugin
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 07f9a785c..d296b3653 100644 --- a/conf/lua/regexp/headers.lua +++ b/conf/lua/regexp/headers.lua @@ -44,7 +44,7 @@ reconf['MISSING_MID'] = '!header_exists(Message-Id)'; reconf['R_RCVD_SPAMBOTS'] = 'Received=/^from \\[\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\] by [-.\\w+]{5,255}; [SMTWF][a-z][a-z], [\\s\\d]?\\d [JFMAJSOND][a-z][a-z] \\d{4} \\d{2}:\\d{2}:\\d{2} [-+]\\d{4}$/mH' -- To header seems to be autogenerated -reconf['R_TO_SEEMS_AUTO'] = 'To=/\\"?(?<bt>[-.\\w]{1,64})\\"?\\s<\\k<bt>\\@/H' +reconf['R_TO_SEEMS_AUTO'] = 'To=/^\\"?(?<bt>[-.\\w]{1,64})\\"?\\s<\\k<bt>\\@/H' -- Charset is missing in message reconf['R_MISSING_CHARSET']= string.format('content_type_is_type(text) & !content_type_has_param(charset) & !%s', r_cte_7bit); |