From: Vsevolod Stakhov Date: Sun, 18 Jun 2017 08:17:44 +0000 (+0100) Subject: [Minor] Add default values for dkim plugin confighelp X-Git-Tag: 1.6.2~102 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9cfaba2d31af21c5f614b923563b37246f5a7566;p=rspamd.git [Minor] Add default values for dkim plugin confighelp --- diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index e46de136c..29c3981fb 100644 --- a/src/plugins/dkim_check.c +++ b/src/plugins/dkim_check.c @@ -160,7 +160,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_STRING, NULL, 0, - NULL, + DEFAULT_SYMBOL_ALLOW, 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -169,7 +169,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_STRING, NULL, 0, - NULL, + DEFAULT_SYMBOL_REJECT, 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -178,7 +178,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_STRING, NULL, 0, - NULL, + DEFAULT_SYMBOL_TEMPFAIL, 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -187,7 +187,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_STRING, NULL, 0, - NULL, + DEFAULT_SYMBOL_NA, 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -196,7 +196,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_STRING, NULL, 0, - NULL, + DEFAULT_SYMBOL_PERMFAIL, 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -205,7 +205,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_INT, NULL, 0, - NULL, + G_STRINGIFY (DEFAULT_CACHE_SIZE), 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -214,7 +214,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_TIME, NULL, 0, - NULL, + G_STRINGIFY (DEFAULT_TIME_JITTER), 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -223,7 +223,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_STRING, NULL, 0, - NULL, + "empty", 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -232,7 +232,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_STRING, NULL, 0, - NULL, + "empty", 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -250,7 +250,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_BOOLEAN, NULL, 0, - NULL, + "false", 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -259,16 +259,16 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_STRING, NULL, 0, - NULL, + "empty", 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", - "Maximum number of DKIM signatures to check", + "Obsoleted: maximum number of DKIM signatures to check", "max_sigs", UCL_INT, NULL, 0, - NULL, + "n/a", 0); rspamd_rcl_add_doc_by_path (cfg, "dkim", @@ -277,7 +277,7 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx) UCL_STRING, NULL, 0, - NULL, + default_sign_headers, 0); return 0;