blob: 9678c205692d56c5cb506242b5e0869d3ec27882 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# management of specific MTA checks
class site_postfix::mx::checks {
file {
'/etc/postfix/checks':
ensure => directory,
mode => '0755',
owner => root,
group => postfix,
require => Package['postfix'];
'/etc/postfix/checks/helo_checks':
content => template('site_postfix/checks/helo_access.erb'),
mode => '0644',
owner => root,
group => root;
'/etc/postfix/checks/helo_checks.pcre':
source => 'puppet:///modules/site_postfix/checks/helo_access.pcre',
mode => '0644',
owner => root,
group => root;
}
exec {
'/usr/sbin/postmap /etc/postfix/checks/helo_checks':
refreshonly => true,
subscribe => File['/etc/postfix/checks/helo_checks'];
}
}
|