1 class exim::mx inherits exim {
5 file { '/etc/exim4/ccTLD.txt':
6 source => 'puppet:///modules/exim/common/ccTLD.txt',
8 file { '/etc/exim4/surbl_whitelist.txt':
9 source => 'puppet:///modules/exim/common/surbl_whitelist.txt',
11 file { '/etc/exim4/exim_surbl.pl':
12 source => 'puppet:///modules/exim/common/exim_surbl.pl',
13 notify => Service['exim4'],
16 # MXs used as smarthosts
17 @ferm::rule { 'dsa-exim-submission':
18 description => 'Allow SMTP',
19 rule => '&SERVICE_RANGE(tcp, submission, $SMTP_SOURCES)'
21 @ferm::rule { 'dsa-exim-v6-submission':
22 description => 'Allow SMTP',
24 rule => '&SERVICE_RANGE(tcp, submission, $SMTP_V6_SOURCES)',
26 dnsextras::tlsa_record{ "tlsa-submission":
28 certfile => "/etc/puppet/modules/exim/files/certs/${::fqdn}.crt",
30 hostname => "$::fqdn",
32 package { 'nagios-plugins-standard':
36 if has_role('mailrelay') {
37 file { '/etc/cron.d/dsa-email-virtualdomains':
38 source => 'puppet:///modules/exim/dsa-email-virtualdomains.cron',
41 file { '/etc/cron.d/dsa-email-virtualdomains':