diff options
author | Alexey <AlexeySa@users.noreply.github.com> | 2014-02-03 10:09:49 -0800 |
---|---|---|
committer | Alexey <AlexeySa@users.noreply.github.com> | 2014-02-03 10:09:49 -0800 |
commit | a9c26ed59883b34299c8622a98a1c6bdbc0c4d31 (patch) | |
tree | bfd3507a7f5a7fc46382f49fba7dc22be85a40b0 /conf/lua | |
parent | 174ae21647d9ce1107865971cab3bae79b013b8e (diff) | |
download | rspamd-a9c26ed59883b34299c8622a98a1c6bdbc0c4d31.tar.gz rspamd-a9c26ed59883b34299c8622a98a1c6bdbc0c4d31.zip |
Rename symbol in Hfilter
Rename symbol HFILTER_HOSTNAME_NOPTR to HFILTER_HOSTNAME_UNKNOWN
Diffstat (limited to 'conf/lua')
-rw-r--r-- | conf/lua/hfilter.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/lua/hfilter.lua b/conf/lua/hfilter.lua index db940343d..0c1d887e8 100644 --- a/conf/lua/hfilter.lua +++ b/conf/lua/hfilter.lua @@ -208,7 +208,7 @@ local function hfilter(task) if hostname then -- Check regexp HOSTNAME if hostname == 'unknown' then - task:insert_result('HFILTER_HOSTNAME_NOPTR', 1.00) + task:insert_result('HFILTER_HOSTNAME_UNKNOWN', 1.00) else for regexp,weight in pairs(checks_hellohost) do if check_regexp(hostname, regexp) then @@ -295,5 +295,5 @@ rspamd_config:register_symbols(hfilter, 1.0, "HFILTER_HELO_NORESOLVE_MX", "HFILTER_HELO_NORES_A_OR_MX", "HFILTER_HELO_IP_A", "HFILTER_HELO_NOT_FQDN", "HFILTER_FROMHOST_NORESOLVE_MX", "HFILTER_FROMHOST_NORES_A_OR_MX", "HFILTER_FROMHOST_NOT_FQDN", "HFILTER_MID_NOT_FQDN", -"HFILTER_HOSTNAME_NOPTR", +"HFILTER_HOSTNAME_UNKNOWN", "HFILTER_URL_ONLY", "HFILTER_URL_ONELINE"); |