summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix/manifests/mx.pp
blob: 154490017e9682ddbbcb838bfa079f03b14ec76a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class site_postfix::mx {

  $domain_hash         = hiera ('domain')
  $domain              = $domain_hash['full_suffix']
  $mx_hash             = hiera('mx')

  $root_mail_recipient = $mx_hash['contact']
  $postfix_smtp_listen = 'all'

  postfix::config {
    # just en example
    'delay_warning_time':     value => '4h';
  }

  include ::postfix
}