summaryrefslogtreecommitdiff
path: root/files/30_exim4-config_remote_smtp_tls_verify
blob: c5675d69ed85509141a6df456fa3d18c25785079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This transport is used for delivering messages over SMTP connections.
# and forcing/verifying tls

remote_smtp_tls_verify:
  debug_print = "T: remote_smtp_tls_verify for $local_part@$domain"
  driver = smtp
  # Force TLS for all hosts on this transport
  hosts_require_tls = *
  #  Next 2 lines send our key in case server requests it
  #  Not needed in this example
  #  tls_certificate = /etc/exim4/exim.crt
  #  tls_privatekey = /etc/exim4/exim.key
  tls_verify_certificates =  ${if exists{/etc/ssl/certs/ca-certificates.crt}\
                                    {/etc/ssl/certs/ca-certificates.crt}\
                                    {/dev/null}}