summaryrefslogtreecommitdiff
path: root/manifests/tls.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-04 22:43:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-04 22:43:58 -0300
commitdad5888cea24eb71cb58d0a260a208ba6e2d8073 (patch)
treef84b5e77b78a39b85a141a9e00c0622689d7ca27 /manifests/tls.pp
downloadpuppet-mail-dad5888cea24eb71cb58d0a260a208ba6e2d8073.tar.gz
puppet-mail-dad5888cea24eb71cb58d0a260a208ba6e2d8073.tar.bz2
Initial import
Diffstat (limited to 'manifests/tls.pp')
-rw-r--r--manifests/tls.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/tls.pp b/manifests/tls.pp
new file mode 100644
index 0000000..435e5d1
--- /dev/null
+++ b/manifests/tls.pp
@@ -0,0 +1,7 @@
+class mail::tls {
+ # TLS
+ postfix::config { "smtpd_tls_cert_file": value => '/etc/ssl/certs/cert.crt' }
+ postfix::config { "smtpd_tls_key_file": value => '/etc/ssl/private/cert.pem' }
+ postfix::config { "smtpd_use_tls": value => 'yes' }
+ postfix::config { "smtp_use_tls": value => 'yes' }
+}