]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Typo use_domain_local --> use_domain_sign_local
authorbjoe2k4 <bjoe2k4@users.noreply.github.com>
Mon, 16 Apr 2018 18:56:33 +0000 (20:56 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Apr 2018 18:56:33 +0000 (20:56 +0200)
use_domain_sign_local is documented on rspamd.com (https://rspamd.com/doc/modules/dkim_signing.html)

lualib/lua_dkim_tools.lua

index 8f8878d3a39a4d06a541a6e25d0c6c68942a2465..ce37d3af2e746315f6dfd141307e1d303ed0eafc 100644 (file)
@@ -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',