aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/out/managesieve.pp
blob: c4147d4b093733544b000ad6a1e903352c1247bd (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
# manage outgoing traffic to managesieve
class shorewall::rules::out::managesieve(
  $legacy_port = false
) {
  shorewall::rule {
    'me-net-tcp_managesieve':
      source          =>      '$FW',
      destination     =>      'net',
      proto           =>      'tcp',
      destinationport =>      '4190',
      order           =>      260,
      action          =>      'ACCEPT';
  }
  if $legacy_port {
    shorewall::rule {
      'me-net-tcp_managesieve_legacy':
        source          =>      '$FW',
        destination     =>      'net',
        proto           =>      'tcp',
        destinationport =>      '2000',
        order           =>      260,
        action          =>      'ACCEPT';
    }
  }
}