Puppet Class: postfix::sasl
- Defined in:
- manifests/sasl.pp
Summary
use case for configuring sasl authenticationOverview
This class will generate the settings required for SASL authentication.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'manifests/sasl.pp', line 23
class postfix::sasl(
$type = 'dovecot',
$path = 'private/auth',
$broken_clients = true,
$security_options = 'noanonymous, noplaintext',
$tls_security_options = 'noanonymous',
$tls_auth_only = true,
) {
postfix::maincf::param { 'smtpd_sasl_type':
value => $type,
}
postfix::maincf::param { 'smtpd_sasl_path':
value => $path,
}
postfix::maincf::param { 'broken_sasl_auth_clients':
value => $broken_clients,
}
postfix::maincf::param { 'smtpd_sasl_security_options':
value => $security_options,
}
postfix::maincf::param { 'smtpd_sasl_tls_security_options':
value => $tls_security_options,
}
postfix::maincf::param { 'smtpd_tls_auth_only':
value => $tls_auth_only,
}
}
|