Bug#918660: exim4: request exim4.conf.template include extra .ifdefs to simplify ssl/tls setup

Gary Dale gary at extremeground.com
Tue Jan 8 02:04:33 GMT 2019

Package: exim4
Version: 4.92~RC3-1
Severity: wishlist

Dear Maintainer,

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

   * What led up to the situation?
I switched ISPs and once again had a lot of trouble configuring exim4 to work with it

   * What exactly did you do (or not do) that was effective (or ineffective)?
I spent hours trying out different suggestions from various sources.

   * What was the outcome of this action?
I eventually got it to work but it involved editing the exim4.conf.template file among others.

   * What outcome did you expect instead?
The template file should be the LAST file to touch since it is one the developers use to
define much of the behaviour of exim4. Special setups should, IMHO, be able to be done through
exim4.conf.localmacros setting up the various exim4 flags and switches.

In particular, I ended up adding the following lines to .localmacros AFTER modifying .template
to handle the last two:

I changed the .template file to include:


  tls_on_connect_ports = TLS_ON_CONNECT_PORTS

This allows the complete and correct definitions to be inserted without having to dig into
the .template file.

*** End of the template - remove these template lines ***

-- Package-specific info:
Exim version 4.92-RC3 #5 built 26-Dec-2018 15:07:52
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 GnuTLS move_frozen_messages DANE DKIM DNSSEC Event OCSP PRDR SOCKS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
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: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA: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.69
ii  exim4-base             4.92~RC3-1
ii  exim4-daemon-light     4.92~RC3-1

exim4 recommends no packages.

exim4 suggests no packages.

-- debconf information:
* exim4/drec:

More information about the Pkg-exim4-maintainers mailing list