Commit ee220c86 authored by Romain Tartière's avatar Romain Tartière Committed by Mickaël Canévet
Browse files

Unbreak sendmail(1)

sendmail(1) reads parts of it's configuration from the main.cf file.
When the file is not readable, the command invocation will fail with the
following error:

fatal: open /etc/postfix/main.cf: Permission denied

The parameters read from main.cf are documented here:
http://www.postfix.org/sendmail.1.html
parent 4d569c54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ class postfix::files {
  file { '/etc/postfix/main.cf':
    ensure  => 'file',
    group   => 'root',
    mode    => '0640',
    mode    => '0644',
    owner   => 'root',
    replace => false,
    seltype => $postfix::params::seltype,