aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-02 19:22:06 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-02 19:22:06 +0000
commit92959b6a37374404ce3ee903e5905caaf2e22719 (patch)
tree38010bef87e40fce27227dfb415b6bc01f2bd0de /src/plugins
parent4a455a7b342a19bf45adc4fabc1b156fe7107c09 (diff)
downloadrspamd-92959b6a37374404ce3ee903e5905caaf2e22719.tar.gz
rspamd-92959b6a37374404ce3ee903e5905caaf2e22719.zip
Add DKIM module help
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/dkim_check.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c
index b6b42b579..8a3546a10 100644
--- a/src/plugins/dkim_check.c
+++ b/src/plugins/dkim_check.c
@@ -112,6 +112,43 @@ dkim_module_init (struct rspamd_config *cfg, struct module_ctx **ctx)
*ctx = (struct module_ctx *)dkim_module_ctx;
+ rspamd_rcl_add_doc_by_path (cfg, NULL,
+ "DKIM check plugin",
+ "dkim", UCL_OBJECT, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Map of IP addresses that should be excluded from DKIM checks",
+ "whitelist", UCL_STRING, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Symbol that is added if DKIM check is successful",
+ "symbol_allow", UCL_STRING, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Symbol that is added if DKIM check is unsuccessful",
+ "symbol_reject", UCL_STRING, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Symbol that is added if DKIM check can't be completed (e.g. DNS failure)",
+ "symbol_tempfail", UCL_STRING, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Size of DKIM keys cache",
+ "dkim_cache_size", UCL_INT, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Allow this time difference when checking DKIM signature time validity",
+ "time_jitter", UCL_TIME, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Domains to check DKIM for (check all domains if this option is empty)",
+ "domains", UCL_STRING, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Map of domains that are treated as 'trusted' meaning that DKIM policy failure has more significant score",
+ "trusted_domains", UCL_STRING, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Multiply dkim score by this factor for trusted domains",
+ "strict_multiplier", UCL_FLOAT, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Check DKIM policies merely for `trusted_domains`",
+ "trusted_only", UCL_BOOLEAN, NULL, 0);
+ rspamd_rcl_add_doc_by_path (cfg, "dkim",
+ "Do not check messages with multiple DKIM signatures",
+ "skip_multi", UCL_BOOLEAN, NULL, 0);
+
return 0;
}