From da984e5696f124373c4098c30a49e4c5a979278d Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Fri, 28 Jul 2023 13:39:23 +0200 Subject: [PATCH] see https://github.com/docker-mailserver/docker-mailserver/issues/3433#issuecomment-1646532264 (#3439) --- target/bin/rspamd-dkim | 5 +++-- target/rspamd/local.d/options.inc | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/target/bin/rspamd-dkim b/target/bin/rspamd-dkim index 2992de5e..8943094d 100755 --- a/target/bin/rspamd-dkim +++ b/target/bin/rspamd-dkim @@ -210,10 +210,11 @@ function _setup_default_signing_conf() { enabled = true; sign_authenticated = true; -sign_local = true; +sign_local = false; +try_fallback = false; use_domain = "header"; -use_redis = false; # don't change unless Redis also provides the DKIM keys +use_redis = false; # don't change unless Redis also provides the DKIM keys use_esld = true; check_pubkey = true; # you want to use this in the beginning diff --git a/target/rspamd/local.d/options.inc b/target/rspamd/local.d/options.inc index f57d4339..9f2a6f19 100644 --- a/target/rspamd/local.d/options.inc +++ b/target/rspamd/local.d/options.inc @@ -1,2 +1,3 @@ pidfile = false; soft_reject_on_timeout = true; +local_networks = "127.0.0.1/8, 10.0.0.0/8, 172.16.0.0/12";