From: Vsevolod Stakhov Date: Mon, 11 Jul 2016 15:20:21 +0000 (+0100) Subject: [Minor] Register DKIM sign symbol in metric X-Git-Tag: 1.3.0~116 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ef98983e64095835f66c28404d791f9f2d7c042c;p=rspamd.git [Minor] Register DKIM sign symbol in metric --- diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index f609a9d1e..009a4f665 100644 --- a/src/plugins/dkim_check.c +++ b/src/plugins/dkim_check.c @@ -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 "