aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dkim_check.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-24 16:37:20 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-24 16:37:20 +0100
commit9895522edd7178259bcee4877ae9662c5f8f5d54 (patch)
tree49d927447ee4e56356664bd9d46f7320a8e75ee1 /src/plugins/dkim_check.c
parent796e1c90d649f2d744d6f95700bb31e0e524c984 (diff)
downloadrspamd-9895522edd7178259bcee4877ae9662c5f8f5d54.tar.gz
rspamd-9895522edd7178259bcee4877ae9662c5f8f5d54.zip
[Fix] Add missing groups to C callback symbols
Diffstat (limited to 'src/plugins/dkim_check.c')
-rw-r--r--src/plugins/dkim_check.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c
index 233ecf1d1..e1edbccd8 100644
--- a/src/plugins/dkim_check.c
+++ b/src/plugins/dkim_check.c
@@ -529,6 +529,15 @@ dkim_module_config (struct rspamd_config *cfg)
NULL,
SYMBOL_TYPE_CALLBACK,
-1);
+ rspamd_config_add_symbol (cfg,
+ "DKIM_CHECK",
+ 0.0,
+ "DKIM check callback",
+ "policies",
+ RSPAMD_SYMBOL_FLAG_IGNORE,
+ 1,
+ 1);
+ rspamd_config_add_symbol_group (cfg, "DKIM_CHECK", "dkim");
rspamd_symcache_add_symbol (cfg->cache,
dkim_module_ctx->symbol_reject,
0,