From 83b77b795f4c9e2a761a2f4d157bfea3805913bd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 15 Aug 2010 13:54:23 -0300 Subject: Adding smtp_tls_policy_maps --- manifests/tls.pp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'manifests') diff --git a/manifests/tls.pp b/manifests/tls.pp index 435e5d1..46083ec 100644 --- a/manifests/tls.pp +++ b/manifests/tls.pp @@ -1,7 +1,12 @@ 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' } + 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' } + postfix::config { "smtp_tls_policy_maps": value => 'hash:/etc/postfix/tls_policy' } + + postfix::hash { "/etc/postfix/tls_policy": + ensure => present, + } } -- cgit v1.2.3