summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/dkim_signing.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-28 16:09:57 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-28 16:09:57 +0100
commit95469537d3a511010df4afa72c9be1c739c05d88 (patch)
treeb732122460a86047735bf153574c73463113b6bb /src/plugins/lua/dkim_signing.lua
parent2537eae679525933014b0f3d8aab3844434ec1c7 (diff)
downloadrspamd-95469537d3a511010df4afa72c9be1c739c05d88.tar.gz
rspamd-95469537d3a511010df4afa72c9be1c739c05d88.zip
[Minor] Allow authenticated domain to be used in dkim
Diffstat (limited to 'src/plugins/lua/dkim_signing.lua')
-rw-r--r--src/plugins/lua/dkim_signing.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/lua/dkim_signing.lua b/src/plugins/lua/dkim_signing.lua
index ab6cf059e..ebda3fa97 100644
--- a/src/plugins/lua/dkim_signing.lua
+++ b/src/plugins/lua/dkim_signing.lua
@@ -159,10 +159,7 @@ if settings.use_redis then
return
end
end
-if settings.use_domain ~= 'header' and settings.use_domain ~= 'envelope' then
- rspamd_logger.errx(rspamd_config, "Value for 'use_domain' is invalid")
- settings.use_domain = 'header'
-end
+
rspamd_config:register_symbol({
name = settings['symbol'],