aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-15 19:12:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-15 19:12:20 -0300
commit1f744d441bf60ccf36f4f5bed81be3a507150986 (patch)
tree8ffab56e9b23821ad519d9627479b7b477efc97f
parent7e11ed63b3aab444af24345a20e7b7a9fde511f7 (diff)
downloadpuppet-nodo-1f744d441bf60ccf36f4f5bed81be3a507150986.tar.gz
puppet-nodo-1f744d441bf60ccf36f4f5bed81be3a507150986.tar.bz2
Initial TLS config for nodo::mail
-rw-r--r--manifests/mail.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/mail.pp b/manifests/mail.pp
index 5004f01..5b0f609 100644
--- a/manifests/mail.pp
+++ b/manifests/mail.pp
@@ -46,4 +46,8 @@ class nodo::mail {
# Recipient restrictions
postfix::config { "smtpd_recipient_restrictions":
value => 'permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client psbl.surriel.com, check_policy_service inet:127.0.0.1:10023' }
+
+ # TLS
+ postfix::config { "smtpd_tls_cert_file": value => '/etc/ssl/private/cert.pem' }
+ postfix::config { "smtpd_tls_key_file": value => '/etc/ssl/private/cert.pem' }
}