From b001f5a14056fa4df5bf50466247f3f4e4d8000e Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Fri, 4 Aug 2023 13:45:35 +0200 Subject: [PATCH] Rspamd: local network addition and user name mismatch (#3453) --- target/bin/rspamd-dkim | 1 + target/rspamd/local.d/options.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/target/bin/rspamd-dkim b/target/bin/rspamd-dkim index 8943094d..7627a863 100755 --- a/target/bin/rspamd-dkim +++ b/target/bin/rspamd-dkim @@ -216,6 +216,7 @@ try_fallback = false; use_domain = "header"; use_redis = false; # don't change unless Redis also provides the DKIM keys use_esld = true; +allow_username_mismatch = 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 9f2a6f19..8755cfad 100644 --- a/target/rspamd/local.d/options.inc +++ b/target/rspamd/local.d/options.inc @@ -1,3 +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"; +local_networks = "127.0.0.1/8, 10.0.0.0/8, 172.16.0.0/12 192.168.0.0/16";