summaryrefslogtreecommitdiff
path: root/manifests/sasl.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-04 22:43:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-04 22:43:58 -0300
commitdad5888cea24eb71cb58d0a260a208ba6e2d8073 (patch)
treef84b5e77b78a39b85a141a9e00c0622689d7ca27 /manifests/sasl.pp
downloadpuppet-mail-dad5888cea24eb71cb58d0a260a208ba6e2d8073.tar.gz
puppet-mail-dad5888cea24eb71cb58d0a260a208ba6e2d8073.tar.bz2
Initial import
Diffstat (limited to 'manifests/sasl.pp')
-rw-r--r--manifests/sasl.pp12
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' }
+}