}
file { "/etc/dovecot/dovecot.conf":
- ensure => present,
- owner => root,
- group => vmail,
- mode => 0644,
- source => "puppet://$server/modules/mail/dovecot/dovecot.conf",
- notify => Service['dovecot'],
+ ensure => present,
+ owner => root,
+ group => vmail,
+ mode => 0644,
+ content => template('mail/dovecot/dovecot.conf.erb'),
+ notify => Service['dovecot'],
}
file { "/etc/dovecot/dovecot-sql.conf":
protocol lda {
# Address to use when sending rejection mails.
- # postmaster_address = postmaster@example.com
+ postmaster_address = postmaster@<%= fqdn %>
# Hostname to use in various parts of sent mails, eg. in Message-Id.
# Default is the system's real hostname.