Mercurial > repos > other > Puppet
diff modules/postfix/manifests/init.pp @ 180:83885499c093 puppet-3.6
Strip some headers on outbound emails
Necessary because GMail app on Android using an account on our
server adds half of the MS Outlook headers, but not the others
and this causes SpamAssassin to flag as spam
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 05 Aug 2018 10:40:51 +0100 |
parents | 048bc4d6af43 |
children | c3fa3d65aa83 |
line wrap: on
line diff
--- a/modules/postfix/manifests/init.pp Thu May 24 20:38:26 2018 +0100 +++ b/modules/postfix/manifests/init.pp Sun Aug 05 10:40:51 2018 +0100 @@ -68,10 +68,14 @@ file { '/etc/postfix/header_checks': source => 'puppet:///private/postfix/header_checks', } - #Bad headers (use even more sparingly!) + #Bad body (use even more sparingly!) file { '/etc/postfix/body_checks': source => 'puppet:///private/postfix/body_checks', } + # Outbound header manipulation + file { '/etc/postfix/smtp_header_checks': + source => 'puppet:///private/postfix/smtp_header_checks', + } #Whitelisted HELO names file { '/etc/postfix/helo_whitelist': source => 'puppet:///private/postfix/helo_whitelist',