From: Vsevolod Stakhov Date: Sat, 6 Dec 2014 19:33:45 +0000 (+0000) Subject: Increase limit for DATE_IN_FUTURE to 2hr. X-Git-Tag: 0.8.0~84 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c4905fa38fc8eb041676beac91d6b32a9d69439e;p=rspamd.git Increase limit for DATE_IN_FUTURE to 2hr. Suggested by: @citrin --- 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