diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-06 19:33:45 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-12-06 19:33:45 +0000 |
commit | c4905fa38fc8eb041676beac91d6b32a9d69439e (patch) | |
tree | 50b1b77f9ba2a4f70f0d66248c1298b48d604a4c /conf | |
parent | 77f8bd0abd70a67c4ba5b260716fae8371c0612b (diff) | |
download | rspamd-c4905fa38fc8eb041676beac91d6b32a9d69439e.tar.gz rspamd-c4905fa38fc8eb041676beac91d6b32a9d69439e.zip |
Increase limit for DATE_IN_FUTURE to 2hr.
Suggested by: @citrin
Diffstat (limited to 'conf')
-rw-r--r-- | conf/lua/rspamd.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/lua/rspamd.lua b/conf/lua/rspamd.lua index 87fac1dc1..1b06fdc1a 100644 --- a/conf/lua/rspamd.lua +++ b/conf/lua/rspamd.lua @@ -46,7 +46,7 @@ rspamd_config.DATE_IN_FUTURE = function(task) local dm = task:get_date{format = 'message'} local dt = task:get_date{format = 'connect'} -- An hour - if dm - dt > 3600 then + if dm - dt > 7200 then return true end end |