From 6cc1848e45ef75d1080d2bb63825614077eb8317 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 26 Feb 2025 12:26:19 +0100 Subject: [PATCH] install_opendkim.sh: Add an Authentication-Results: header field. --- install_opendkim.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install_opendkim.sh b/install_opendkim.sh index 4ff57d7..679a432 100755 --- a/install_opendkim.sh +++ b/install_opendkim.sh @@ -237,6 +237,12 @@ SignatureAlgorithm rsa-sha256 # because it is often the identity key used by reputation systems and thus # somewhat security sensitive. OversignHeaders From + +# Add an "Authentication-Results:" header field even to unsigned messages +# from domains with no "signs all" policy. The reported DKIM result will be +# "none" in such cases. Normally unsigned mail from non-strict domains does +# not cause the results header field to be added. +AlwaysAddARHeader yes EOF opendkim_needs_restart=true if [[ $? -eq 0 ]] ; then