diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-18 09:17:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-18 09:17:44 +0100 |
commit | 9cfaba2d31af21c5f614b923563b37246f5a7566 (patch) | |
tree | c1a29e7ca00855204948327de14bcf1c5f9f58b7 /src/plugins/dkim_check.c | |
parent | fa035f5d6dfd643b6629988a3e8138ec7c6b3ec4 (diff) | |
download | rspamd-9cfaba2d31af21c5f614b923563b37246f5a7566.tar.gz rspamd-9cfaba2d31af21c5f614b923563b37246f5a7566.zip |
[Minor] Add default values for dkim plugin confighelp
Diffstat (limited to 'src/plugins/dkim_check.c')
-rw-r--r-- | src/plugins/dkim_check.c | 28 |
1 files changed, 14 insertions, 14 deletions
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; |