mta
end
end
+
+facter.add("exim_ssl_certs") do
+ setcode do
+ FileTest.exist?("/etc/exim4/ssl/") &&
+ FileTest.exist?("/etc/exim4/ssl/ca.crl") &&
+ FileTest.exist?("/etc/exim4/ssl/thishost.crt") &&
+ FileTest.exist?("/etc/exim4/ssl/ca.crt") &&
+ FileTest.exist?("/etc/exim4/ssl/thishost.key")
+ end
+end
hostlist reservedaddrs = RESERVEDADDRS
+.ifdef USE_TLS
tls_certificate = /etc/exim4/ssl/thishost.crt
tls_privatekey = /etc/exim4/ssl/thishost.key
.ifdef RELAY_HOST
tls_verify_certificates = /etc/exim4/ssl/ca.crt
tls_crl = /etc/exim4/ssl/ca.crl
.endif
+.endif
#system_filter = /etc/exim4/filter
#system_filter_file_transport = address_file
remote_sort_domains = *.debian.org:*.debian.net
pipelining_advertise_hosts = !*
+.ifdef USE_TLS
tls_advertise_hosts = *
+.endif
smtp_enforce_sync = true
log_selector = +tls_cipher +tls_peerdn +queue_time +deliver_time +smtp_connection +smtp_incomplete_transaction +smtp_confirmation
remote_smtp:
driver = smtp
connect_timeout = 1m
+.ifdef USE_TLS
tls_tempfail_tryclear = true
tls_certificate = /etc/exim4/ssl/thishost.crt
tls_privatekey = /etc/exim4/ssl/thishost.key
+.endif
# Send the message to procmail
procmail_pipe: