From 791e0831ad785964bba794a609e469cf1cb46794 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 12 Jan 2020 11:39:53 +0100 Subject: [PATCH] [Rspamd] Fix DKIM, fixes #3262 --- data/conf/rspamd/local.d/dkim_signing.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/conf/rspamd/local.d/dkim_signing.conf b/data/conf/rspamd/local.d/dkim_signing.conf index 4ffb5544..b87f89c8 100644 --- a/data/conf/rspamd/local.d/dkim_signing.conf +++ b/data/conf/rspamd/local.d/dkim_signing.conf @@ -1,13 +1,13 @@ # If false, messages with empty envelope from are not signed allow_envfrom_empty = false; # If true, envelope/header domain mismatch is ignored -allow_hdrfrom_mismatch = true; +allow_hdrfrom_mismatch = false; # If true, multiple from headers are allowed (but only first is used) allow_hdrfrom_multiple = true; # If true, username does not need to contain matching domain allow_username_mismatch = true; # If false, messages from authenticated users are not selected for signing -auth_only = false; +auth_only = true; # Default path to key, can include '$domain' and '$selector' variables path = "/data/dkim/keys/$domain.dkim"; # Default selector to use