summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbjoe2k4 <bjoe2k4@users.noreply.github.com>2018-04-16 20:56:33 +0200
committerGitHub <noreply@github.com>2018-04-16 20:56:33 +0200
commit474a85f597791f1ed885b8b6ed9b0419b3bec46e (patch)
tree59ca0d27a635ad9999afc7de34c164aa21086653
parent190530179aa87127ffd6980b86bc58a52a1286ad (diff)
downloadrspamd-474a85f597791f1ed885b8b6ed9b0419b3bec46e.tar.gz
rspamd-474a85f597791f1ed885b8b6ed9b0419b3bec46e.zip
[Fix] Typo use_domain_local --> use_domain_sign_local
use_domain_sign_local is documented on rspamd.com (https://rspamd.com/doc/modules/dkim_signing.html)
-rw-r--r--lualib/lua_dkim_tools.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lualib/lua_dkim_tools.lua b/lualib/lua_dkim_tools.lua
index 8f8878d3a..ce37d3af2 100644
--- a/lualib/lua_dkim_tools.lua
+++ b/lualib/lua_dkim_tools.lua
@@ -94,10 +94,10 @@ local function prepare_dkim_signing(N, task, settings)
dkim_domain = get_dkim_domain('use_domain_sign_networks')
rspamd_logger.debugm(N, task, 'sign_networks: use domain(%s) for signature: %s',
settings.use_domain_sign_networks, dkim_domain)
- elseif settings.use_domain_local and is_local then
- dkim_domain = get_dkim_domain('use_domain_local')
+ elseif settings.use_domain_sign_local and is_local then
+ dkim_domain = get_dkim_domain('use_domain_sign_local')
rspamd_logger.debugm(N, task, 'local: use domain(%s) for signature: %s',
- settings.use_domain_local, dkim_domain)
+ settings.use_domain_sign_local, dkim_domain)
else
dkim_domain = get_dkim_domain('use_domain')
rspamd_logger.debugm(N, task, 'use domain(%s) for signature: %s',