summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSystem administrator2020-12-01 11:45:03 +0100
committerSystem administrator2020-12-01 11:45:03 +0100
commitbb4117f666ed9f996eaae33d125f52ef45ed6349 (patch)
treee0a7de2ec31a6c23582db5027dae331386b0a4d3
parenta7d33265b2aa39f2ea8559b1bfffbe060ef9dc65 (diff)
downloadexim-bb4117f666ed9f996eaae33d125f52ef45ed6349.tar.gz
expose TLS certificate and private key paths separately
To avoid assuming the file names under a directory.
-rw-r--r--conf.d/010_main.conf4
-rw-r--r--exim.conf5
2 files changed, 5 insertions, 4 deletions
diff --git a/conf.d/010_main.conf b/conf.d/010_main.conf
index b04e9f5..3162f62 100644
--- a/conf.d/010_main.conf
+++ b/conf.d/010_main.conf
@@ -56,8 +56,8 @@ tls_advertise_hosts = *
56# need the first setting, or in separate files, in which case you need both 56# need the first setting, or in separate files, in which case you need both
57# options. 57# options.
58 58
59tls_certificate = CERTDIR/$primary_hostname.crt 59tls_certificate = TLS_CERTIFICATE_FILE
60tls_privatekey = CERTDIR/$primary_hostname.pem 60tls_privatekey = TLS_PRIVATE_KEY_FILE
61 61
62# In order to support roaming users who wish to send email from anywhere, 62# In order to support roaming users who wish to send email from anywhere,
63# you may want to make Exim listen on other ports as well as port 25, in 63# you may want to make Exim listen on other ports as well as port 25, in
diff --git a/exim.conf b/exim.conf
index 678be1e..3558007 100644
--- a/exim.conf
+++ b/exim.conf
@@ -37,10 +37,11 @@
37 37
38 38
39CONFDIR = /etc/exim 39CONFDIR = /etc/exim
40
41CERTDIR = /etc/mail/ssl
42DKIMDIR = /etc/mail/dkim 40DKIMDIR = /etc/mail/dkim
43 41
42TLS_CERTIFICATE_FILE = /etc/keyring/exim.crt
43TLS_PRIVATE_KEY_FILE = /etc/keyring/exim.pem
44
44USERLIST = /etc/mail/list.d/users.list 45USERLIST = /etc/mail/list.d/users.list
45#ENABLE_PAM_AUTH = yes 46#ENABLE_PAM_AUTH = yes
46#DOVECOT_AUTH_SOCKET = /var/run/dovecot/auth-client 47#DOVECOT_AUTH_SOCKET = /var/run/dovecot/auth-client