aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/mail.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/mail.pp b/manifests/mail.pp
index 5b0f609..4e0421a 100644
--- a/manifests/mail.pp
+++ b/manifests/mail.pp
@@ -50,4 +50,9 @@ class nodo::mail {
# 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' }
+
+ File['/etc/ssl/private/cert.pem'] {
+ group => postfix,
+ mode => 0640,
+ }
}