Puppet Class: postfix::params
- Inherited by:
-
postfix
- Defined in:
- manifests/params.pp
Overview
- Class
-
postfix::params
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'manifests/params.pp', line 4
class postfix::params {
$smtp_relay = true
$relay_host = $::domain
$mydomain = $::domain
$relay_networks = '127.0.0.1'
$relay_domains = undef
$relay_username = undef
$relay_password = undef
$relay_port = 25
$tls = false
$master_config_services = []
$main_options_hash = {}
$smtpd_client_restrictions = 'permit_mynetworks, reject'
$smtpd_helo_restrictions = undef
$smtpd_sender_restrictions = undef
$smtpd_recipient_restrictions = 'permit_mynetworks, reject_unauth_destination'
$smtpd_data_restrictions = 'reject_unauth_pipelining'
case $::osfamily {
'RedHat': {
$tls_bundle = '/etc/pki/tls/certs/ca-bundle.crt'
$tls_package = 'openssl'
}
'Debian': {
$tls_bundle = '/etc/ssl/certs/ca-certificates.crt'
$tls_package = 'ca-certificates'
}
default: {
$tls_bundle = false
$tls_package = false
}
}
}
|