]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Allow authenticated domain to be used in dkim
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 28 May 2017 15:09:57 +0000 (16:09 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 28 May 2017 15:09:57 +0000 (16:09 +0100)
src/plugins/lua/dkim_signing.lua

index ab6cf059ee69f7f684168075b29c04fd586c76a0..ebda3fa973f9b968f77b7757872a820862ad002f 100644 (file)
@@ -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'],