summaryrefslogtreecommitdiff
path: root/manifests/mailserver.pp
blob: 60a6bfd3553ed0a5487e9ca8be249dd28eace6a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class profiles::mailserver (
) {
  class { '::postfix':
    inet_protocols => 'all',
    smtp_listen    => 'all',
  }

  $destinations = [
    'adrift.space',
    'hornquist.se',
    'localhost',
    'localhost.localdomain',
  ]

  postfix::config { 
  default: ensure        => present ;
  'mydomain':      value => 'adrift.space' ;
  'mydestination': value => $destinations.join(', ') ;
  }
}