]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Another misprint...
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 16 Apr 2019 15:11:43 +0000 (16:11 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 16 Apr 2019 15:11:43 +0000 (16:11 +0100)
src/plugins/lua/clickhouse.lua

index 05ae3d3fd90255f3888086b24d0b40b75163aed8..da084ea74d3a8d26d9315fb4162841c3c370ebc7 100644 (file)
@@ -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)