diff options
Diffstat (limited to 'puppet/modules')
| -rw-r--r-- | puppet/modules/site_postfix/manifests/mx.pp | 10 | 
1 files changed, 8 insertions, 2 deletions
| diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp index 02b9fbdd..59a02598 100644 --- a/puppet/modules/site_postfix/manifests/mx.pp +++ b/puppet/modules/site_postfix/manifests/mx.pp @@ -10,8 +10,9 @@ class site_postfix::mx {    $mynetworks          = join(hiera('mynetworks', ''), ' ')    $rbls                = suffix(prefix(hiera('rbls', []), 'reject_rbl_client '), ',') -  $root_mail_recipient = hiera('contacts') -  $postfix_smtp_listen = 'all' +  $root_mail_recipient    = hiera('contacts') +  $postfix_smtp_listen    = 'all' +  $postfix_use_postscreen = 'yes'    include site_config::x509::cert    include site_config::x509::key @@ -79,6 +80,10 @@ class site_postfix::mx {        value => 'smtp';      'mailbox_command':        value => ''; +    'postscreen_access_list': +      value => 'permit_mynetworks'; +    'postscreen_greet_action': +      value => 'enforce';    }    include site_postfix::mx::smtpd_checks @@ -118,6 +123,7 @@ clean_smtps   unix  n - n - 0 cleanup      root_mail_recipient => $root_mail_recipient,      smtp_listen         => 'all',      mastercf_tail       => $mastercf_tail, +    use_postscreen      => 'yes',      require             => [        Class['Site_config::X509::Key'],        Class['Site_config::X509::Cert'], | 
