blob: 5ec95fdd9f8f902fa62e2d53b4ce69883797c92a (
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
|
class site_shorewall::mx {
include site_shorewall::defaults
$smtpd_ports = '25'
# define macro for incoming services
file { '/etc/shorewall/macro.leap_mx':
content => "PARAM - - tcp ${smtpd_ports} ",
notify => Service['shorewall'],
require => Package['shorewall']
}
shorewall::rule {
'net2fw-mx':
source => 'net',
destination => '$FW',
action => 'leap_mx(ACCEPT)',
order => 200;
}
include site_shorewall::service::smtp
}
|