Package: exim4
Tags: patch

Hi!  The following patch allows me to configure the 'dkim_timestamps'
setting, which according to RFC 6376 is something you are RECOMMENDED to
set, see Exim4 manual (search for 'dkim_timestamps'):

https://exim.org/exim-html-current/doc/html/spec_html/ch-dkim_spf_and_dmarc.html

I tested it with exim4 on Debian stable by editing the installed
configuration file in the same way as my patch, and confirming that the
sent e-mail contains the 't' and 'x' DKIM parameters (in fact, this
e-mail should be an example of that unless I made a temporary
configuration mistake while sending this).

Thanks,
/Simon
From 90a1e015a2d35c81a61528181a0a58ee3c614759 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <si...@josefsson.org>
Date: Sat, 23 Jan 2021 20:55:18 +0100
Subject: [PATCH] Add DKIM_TIMESTAMPS.

---
 debian/debconf/conf.d/transport/30_exim4-config_remote_smtp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/debconf/conf.d/transport/30_exim4-config_remote_smtp b/debian/debconf/conf.d/transport/30_exim4-config_remote_smtp
index c36ca055..f9b3a3ae 100644
--- a/debian/debconf/conf.d/transport/30_exim4-config_remote_smtp
+++ b/debian/debconf/conf.d/transport/30_exim4-config_remote_smtp
@@ -45,6 +45,9 @@ dkim_strict = DKIM_STRICT
 .ifdef DKIM_SIGN_HEADERS
 dkim_sign_headers = DKIM_SIGN_HEADERS
 .endif
+.ifdef DKIM_TIMESTAMPS
+dkim_timestamps = DKIM_TIMESTAMPS
+.endif
 .ifdef TLS_DH_MIN_BITS
 tls_dh_min_bits = TLS_DH_MIN_BITS
 .endif
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature

Reply via email to