Skip to content

Commit

Permalink
Add SSL/TLS-certificate in the config-file because we require TLS-aut…
Browse files Browse the repository at this point in the history
…hentication.
  • Loading branch information
Udera committed Jun 17, 2015
1 parent 59dea30 commit 9c1e2f3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README
Expand Up @@ -256,6 +256,18 @@ Exim configuration:
which is where the FreeBSD port puts it. Other installations put it
in /var/tmp, /usr/lib, or any number of other places. If yours isn't
/tmp/mysql.sock, you will need to set this.
----------
tls_certificate = /etc/exim4/exim.crt
tls_privatekey = /etc/exim4/exim.key
*** TLS is activated by default. We suppose that you already created a SSL key and
certificate. The creation of SSL-keys is the same like for webservers, e.g.
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-with-a-free-signed-ssl-certificate-on-a-vps
You can use the same certificate your the webserver of this host (if you use webmail)
----------
tls_dhparam = /etc/exim4/dhparam.pem
*** The Diffie-Hellman group should have at least 1024 bit and
can be created with this command (it can take some time):
openssl dhparam -out /etc/exim4/dhparam.pem 2048
----------
ACL's
*** We have split all of the ACL's into separate files, to make
Expand Down
11 changes: 10 additions & 1 deletion docs/configure
Expand Up @@ -266,7 +266,16 @@ timeout_frozen_after = 7d

# We also want a little more detail in our logs, helps with debugging

log_selector = +subject
log_selector = +subject +tls_cipher +tls_peerdn

# TLS
tls_advertise_hosts = *
tls_certificate = /etc/exim4/exim.crt
tls_privatekey = /etc/exim4/exim.key
tls_dhparam = /etc/exim4/dhparam.pem
tls_require_ciphers = ${if =={$received_port}{25}\
{NORMAL:%COMPAT:!VERS-SSL3.0}\
{SECURE128}}


######################################################################
Expand Down

0 comments on commit 9c1e2f3

Please sign in to comment.