From d04748ea87c5d7e84fd96a5e8d6fbedeca1e25f8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 10 Nov 2010 16:37:19 -0200 Subject: Using smtp_tls_security_level/smtpd_tls_security_level instead of smtp_use_tls/smtpd_use_tls --- manifests/tls.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/tls.pp b/manifests/tls.pp index 2a12468..98ccd4f 100644 --- a/manifests/tls.pp +++ b/manifests/tls.pp @@ -1,10 +1,10 @@ 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 { "smtp_tls_policy_maps": value => 'hash:/etc/postfix/tls_policy' } + 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_tls_security_level": value => 'may' } + postfix::config { "smtp_tls_security_level": value => 'may' } + postfix::config { "smtp_tls_policy_maps": value => 'hash:/etc/postfix/tls_policy' } postfix::hash { "/etc/postfix/tls_policy": ensure => present, -- cgit v1.2.3