Bug#1148881: exim4-config: exim4.conf.localmacros is not parsed by update-exim4.conf in split-config

Christoph Scholzen cs at xsc.ch
Thu Sep 24 16:41:10 BST 2026


Package: exim4-config
Version: 4.96-15+deb12u10
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Intended use of file exim4.conf.localmacros without macros beeing found in config.autogenerated and of course without any effect
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
MAIN_TLS_ENABLE = 1
MAIN_TLS_CERTIFICATE = </my/path/file.crt>
MAIN_TLS_PRIVATEKEY = </my/path/file.key>
with the files in question 640/root:Debian-exim)
   * What was the outcome of this action?
Mailclients complaining newly every day about a certificate 
subject=C = UK, O = Exim Developers, CN = <hostname>
issuer=C = UK, O = Exim Developers, CN = <hostname>
   * What outcome did you expect instead?
Having the option to accept my self signed certificate once for ever

Files below /etc/exim4/conf.d do nowhere have a statement
.include_if_exists-statement  /etc/exim4/exim4.conf.localmacros
and command exim4 -bP tls_certificate prints "tls_certificate ="


-- Package-specific info:
Exim version 4.96 #2 built 27-May-2026 16:52:26
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2022
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS TLS_resume move_frozen_messages Content_Scanning DANE DKIM DNSSEC Event I18N OCSP PIPECONNECT PRDR PROXY Queue_Ramp SOCKS SPF SRS 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 external 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: 12.15
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-21-rt-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_CH.utf8, LC_CTYPE=de_CH.utf8 (charmap=UTF-8) (ignored: LC_ALL set to de_CH.utf8), LANGUAGE=de_CH.utf8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages exim4-config depends on:
ii  adduser                3.134
ii  debconf [debconf-2.0]  1.5.82

Versions of packages exim4-config recommends:
ii  ca-certificates  20250419~deb12u1

exim4-config suggests no packages.

-- Configuration Files:
/etc/email-addresses changed [not included]
/etc/exim4/conf.d/auth/00_exim4-config_header changed [not included]
/etc/exim4/conf.d/auth/30_exim4-config_examples changed [not included]
/etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs changed [not included]
/etc/exim4/conf.d/router/00_exim4-config_header changed [not included]
/etc/exim4/conf.d/transport/00_exim4-config_header changed [not included]
/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp changed [not included]
/etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost changed [not included]
/etc/exim4/exim4.conf.template changed [not included]
/etc/exim4/passwd.client [Errno 13] Keine Berechtigung: '/etc/exim4/passwd.client'

-- debconf information excluded



More information about the Pkg-exim4-maintainers mailing list