summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-16 16:11:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-16 16:11:43 +0100
commit154c9c14274d41631f285f400f21c1c7152f4e37 (patch)
tree543770c5fecad128fff3420316bea36556c1f341
parent69ecc7e4550e1940922fd43f4816dadc0af51a52 (diff)
downloadrspamd-154c9c14274d41631f285f400f21c1c7152f4e37.tar.gz
rspamd-154c9c14274d41631f285f400f21c1c7152f4e37.zip
[Minor] Another misprint...
-rw-r--r--src/plugins/lua/clickhouse.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index 05ae3d3fd..da084ea74 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -48,7 +48,7 @@ local settings = {
dmarc_reject_symbols = {'DMARC_POLICY_REJECT'},
dmarc_quarantine_symbols = {'DMARC_POLICY_QUARANTINE'},
dmarc_softfail_symbols = {'DMARC_POLICY_SOFTFAIL'},
- dmarc_dnsfail_symbols = {'DMARC_FAIL'},
+ dmarc_na_symbols = {'DMARC_NA'},
spf_allow_symbols = {'R_SPF_ALLOW'},
spf_reject_symbols = {'R_SPF_FAIL'},
spf_dnsfail_symbols = {'R_SPF_DNSFAIL', 'R_SPF_PERMFAIL'},
@@ -508,9 +508,9 @@ local function clickhouse_collect(task)
dmarc = 'softfail'
end
- ret = ret or clickhouse_check_symbol(task, settings.dmarc_dnsfail_symbols, false)
+ ret = ret or clickhouse_check_symbol(task, settings.dmarc_na_symbols, false)
if ret then
- dmarc = 'dnsfail'
+ dmarc = 'na'
end
ret = clickhouse_check_symbol(task, settings.spf_allow_symbols, false)