diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2021-04-14 18:50:02 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2021-04-14 18:50:02 -0300 |
commit | 5eb3dca39ea4c01eb38a8c6f329e6d5e9c845732 (patch) | |
tree | d079e322a00d1267adb717c271cfe5910efcea91 /manifests/base.pp | |
parent | ceff11a35cf0f01934e13846aab1ae79568bbd35 (diff) | |
download | puppet-mail-5eb3dca39ea4c01eb38a8c6f329e6d5e9c845732.tar.gz puppet-mail-5eb3dca39ea4c01eb38a8c6f329e6d5e9c845732.tar.bz2 |
Feat: support for SPF checking
Diffstat (limited to 'manifests/base.pp')
-rw-r--r-- | manifests/base.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/base.pp b/manifests/base.pp index eb84c76..4e3472e 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -22,12 +22,16 @@ class mail::base { # Recipient restrictions postfix::config { "smtpd_recipient_restrictions": - value => "permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client psbl.surriel.com, check_policy_service inet:127.0.0.1:${postgrey_port}" } + value => "permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client psbl.surriel.com, check_policy_service unix:private/policyd-spf, check_policy_service inet:127.0.0.1:${postgrey_port}" } postfix::hash { "/etc/postfix/virtual": ensure => present, } + postfix::config { "policy-spf_time_limit": + value => "3600", + } + postfix::hash { "/etc/postfix/transport": ensure => present, } |