summaryrefslogtreecommitdiff
path: root/files/30_exim4-config_remote_smtp_tls_verify
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-09 23:04:48 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-09 23:04:48 -0200
commit56314de3a88a634634bf895484e28539a830ba52 (patch)
treecf64da3515b41844e1755f4bd72262e9676be212 /files/30_exim4-config_remote_smtp_tls_verify
parent3e4f48e157688adc050c5fe00b6491344d596097 (diff)
downloadpuppet-exim-56314de3a88a634634bf895484e28539a830ba52.tar.gz
puppet-exim-56314de3a88a634634bf895484e28539a830ba52.tar.bz2
Adding exim::tls
Diffstat (limited to 'files/30_exim4-config_remote_smtp_tls_verify')
-rw-r--r--files/30_exim4-config_remote_smtp_tls_verify15
1 files changed, 15 insertions, 0 deletions
diff --git a/files/30_exim4-config_remote_smtp_tls_verify b/files/30_exim4-config_remote_smtp_tls_verify
new file mode 100644
index 0000000..c5675d6
--- /dev/null
+++ b/files/30_exim4-config_remote_smtp_tls_verify
@@ -0,0 +1,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}}