From: Alexey Date: Fri, 27 Dec 2013 08:57:45 +0000 (-0800) Subject: Rework checks for Message-id X-Git-Tag: 0.6.6~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b0c87faf238df6eefe9a543caa8b1547896a742;p=thirdparty%2Frspamd.git Rework checks for Message-id Del resolve host rules in Message-Id header --- diff --git a/conf/lua/hfilter.lua b/conf/lua/hfilter.lua index e9202b932d..8fb8a1e749 100644 --- a/conf/lua/hfilter.lua +++ b/conf/lua/hfilter.lua @@ -80,6 +80,13 @@ local function split(str, delim, maxNb) return result end +local function check_fqdn(domain) + if check_regexp(domain, '(?=^.{4,255}$)(^((?!-)[a-zA-Z0-9-]{1,63}(?