From 1ace64ebd0b6ad6fce1ef9cdb7ffbaf4e5a481e0 Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 3 Sep 2018 04:29:43 +0200 Subject: Correctly override DKIM header macro --- conf.d/040_transports.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/conf.d/040_transports.conf b/conf.d/040_transports.conf index 5a2d389..7eee901 100644 --- a/conf.d/040_transports.conf +++ b/conf.d/040_transports.conf @@ -27,8 +27,10 @@ remote_smtp: # servers to forward messages without invalidating the signature. # ref: https://www.spinics.net/lists/linux-media/msg138870.html -.ifndef _DKIM_SIGN_HEADERS -_DKIM_SIGN_HEADERS = In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive +.ifdef _DKIM_SIGN_HEADERS +DKIM_SIGN_HEADERS = _DKIM_SIGN_HEADERS +.else +DKIM_SIGN_HEADERS = In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive .endif signed_smtp: -- cgit v1.2.3