summaryrefslogtreecommitdiff
path: root/manifests/header_checks.pp
blob: 8b74a5ee3b0ac645ee4a7bc820365375252b50cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class mail::header_checks {
  # Header checks
  postfix::config { "header_checks":
    value   => 'regexp:/etc/postfix/header_checks',
    require => File['/etc/postfix/header_checks'],
  }

  file { "/etc/postfix/header_checks":
    ensure  => present,
    owner   => root,
    group   => root,
    mode    => 0644,
    content => template('mail/postfix/header_checks.erb'),
  }
}