commit 154c9c1: [Minor] Another misprint...

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Apr 16 15:14:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-04-16 16:11:43 +0100
URL: https://github.com/rspamd/rspamd/commit/154c9c14274d41631f285f400f21c1c7152f4e37 (HEAD -> master)

[Minor] Another misprint...

---
 src/plugins/lua/clickhouse.lua | 6 +++---
 1 file 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)


More information about the Commits mailing list