From: Vsevolod Stakhov Date: Sun, 28 May 2017 15:09:57 +0000 (+0100) Subject: [Minor] Allow authenticated domain to be used in dkim X-Git-Tag: 1.6.0~111 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=95469537d3a511010df4afa72c9be1c739c05d88;p=rspamd.git [Minor] Allow authenticated domain to be used in dkim --- 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'],