comparison 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
comparison
equal deleted inserted replaced
179:89cd717361fd 180:83885499c093
66 } 66 }
67 #Bad headers (use sparingly) 67 #Bad headers (use sparingly)
68 file { '/etc/postfix/header_checks': 68 file { '/etc/postfix/header_checks':
69 source => 'puppet:///private/postfix/header_checks', 69 source => 'puppet:///private/postfix/header_checks',
70 } 70 }
71 #Bad headers (use even more sparingly!) 71 #Bad body (use even more sparingly!)
72 file { '/etc/postfix/body_checks': 72 file { '/etc/postfix/body_checks':
73 source => 'puppet:///private/postfix/body_checks', 73 source => 'puppet:///private/postfix/body_checks',
74 }
75 # Outbound header manipulation
76 file { '/etc/postfix/smtp_header_checks':
77 source => 'puppet:///private/postfix/smtp_header_checks',
74 } 78 }
75 #Whitelisted HELO names 79 #Whitelisted HELO names
76 file { '/etc/postfix/helo_whitelist': 80 file { '/etc/postfix/helo_whitelist':
77 source => 'puppet:///private/postfix/helo_whitelist', 81 source => 'puppet:///private/postfix/helo_whitelist',
78 } 82 }