Package: exim4 Version: 4.92-8+deb10u3 Severity: wishlist The remote_smtp transport in /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp contains lines like:
.ifdef DKIM_PRIVATE_KEY dkim_private_key = DKIM_PRIVATE_KEY .endif to set the DKIM variables based on macro values. These lines are not present in the remote_smtp_smarthost transport in /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost, which stops DKIM from working when using a smart host. I've copied and pasted the DKIM lines from remote_smtp to remote_smtp_smarthost as recommended at https://warlord0blog.wordpress.com/2016/10/13/exim4-dkim-smarthost/ which seemed to make DKIM work for me when using a smart host. Please can you include these lines in the shipped configuration? Mike. -- Package-specific info: Exim version 4.92 #3 built 27-Sep-2019 16:09:35 Copyright (c) University of Cambridge, 1995 - 2018 (c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2018 Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013) Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS move_frozen_messages Content_Scanning DANE DKIM DNSSEC Event OCSP PRDR PROXY SOCKS TCP_Fast_Open Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa tls Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp Malware: f-protd f-prot6d drweb fsecure sophie clamd avast sock cmdline Fixed never_users: 0 Configure owner: 0:0 Size of off_t: 8 Configuration file search path is /etc/exim4/exim4.conf:/var/lib/exim4/config.autogenerated Configuration file is /var/lib/exim4/config.autogenerated -- System Information: Debian Release: 10.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages exim4 depends on: ii debconf [debconf-2.0] 1.5.71 ii exim4-base 4.92-8+deb10u3 ii exim4-daemon-heavy 4.92-8+deb10u3 exim4 recommends no packages. exim4 suggests no packages. -- debconf information: exim4/drec: