From: Vsevolod Stakhov Date: Tue, 16 Apr 2019 15:11:43 +0000 (+0100) Subject: [Minor] Another misprint... X-Git-Tag: 1.9.2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=154c9c14274d41631f285f400f21c1c7152f4e37;p=rspamd.git [Minor] Another misprint... --- 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)