diff options
Diffstat (limited to 'manifests/sasl.pp')
-rw-r--r-- | manifests/sasl.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/sasl.pp b/manifests/sasl.pp new file mode 100644 index 0000000..91f60d8 --- /dev/null +++ b/manifests/sasl.pp @@ -0,0 +1,12 @@ +class mail::sasl { + # SASL + postfix::config { "smtpd_sasl_type": value => 'dovecot' } + postfix::config { "smtpd_sasl_auth_enable": value => 'yes' } + postfix::config { "smtpd_sasl_local_domain": value => '$myhostname' } + postfix::config { "smtpd_sasl_security_options": value => 'noanonymous, noplaintext' } + postfix::config { "smtpd_sasl_tls_security_options": value => 'noanonymous' } + postfix::config { "broken_sasl_auth_clients": value => 'yes' } + postfix::config { "smtpd_sasl_authenticated_header": value => 'yes' } + postfix::config { "smtpd_tls_auth_only": value => 'yes' } + postfix::config { "smtpd_sasl_path": value => 'private/auth' } +} |