DKIM smarthost transport
Tom Wijnroks
t.wijnroks at exonet.nl
Thu Jun 8 10:07:31 BST 2023
Hello,
I'm running Exim4 (split config) and use local macros from Debian/Exim4 to setup DKIM signing:
DKIM_CANON = relaxed
DKIM_DOMAIN = example.com
DKIM_PRIVATE_KEY = /etc/exim4/dkim/example_com.key
DKIM_SELECTOR = example
DKIM_STRICT = false
It works fine when relaying directly to the internet but it does not when relaying through a smarthost. This is because the DKIM macros are not present in the smarthost transport:
30_exim4-config_remote_smtp <-- has DKIM macros.
30_exim4-config_remote_smtp_smarthost <-- has no DKIM macros.
I've tested and checked these exim4/config versions:
exim4-config 4.92-8+deb10u7 (currently on Debian 10)
exim4-config 4.94.2-7 (currently on Debian 11)
A workaround for now is copying the DKIM lines from the config_remote_smtp to the config_remote_smtp_smarthost file.
Is there a reason why it was left out from the smarthost transport?
With kind regards,
--
Tom Wijnroks
Exonet B.V.
+31 (0)88 23 44 888
https://www.exonet.nl
More information about the Pkg-exim4-maintainers
mailing list