]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Register DKIM sign symbol in metric
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 Jul 2016 15:20:21 +0000 (16:20 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 11 Jul 2016 15:20:21 +0000 (16:20 +0100)
src/plugins/dkim_check.c

index f609a9d1ee3cbe3480cbc7f23e19a3d4b4972f25..009a4f665edca2f22006aca9d062e2738ba777f1 100644 (file)
@@ -438,6 +438,10 @@ dkim_module_config (struct rspamd_config *cfg)
                                                                "DKIM_SIGN", dkim_module_ctx->symbol_reject);
                                        }
 
+                                       rspamd_config_add_metric_symbol (cfg, DEFAULT_METRIC,
+                                                       "DKIM_SIGN", 0.0, "DKIM signature fake symbol",
+                                                       "dkim", RSPAMD_SYMBOL_FLAG_IGNORE, 1);
+
                                }
                                else {
                                        msg_err_config ("lua script must return "