bacula: Sync SELinux contexts with CentOS 6.6 and change mail command to use bacula's own bsmtp to prevent SELinux errors.
This commit is contained in:
parent
bb84d8b7da
commit
9ae45e3fef
3 changed files with 8 additions and 8 deletions
|
@ -15,8 +15,8 @@ Director {
|
|||
|
||||
Messages {
|
||||
Name = "Standard"
|
||||
MailCommand = "mail -s \"Bacula Message\" %r"
|
||||
OperatorCommand = "mail -s \"Bacula Operator Message\" %r"
|
||||
MailCommand = "bsmtp -h <%= @mail_server %> -s \"Bacula Message\" %r"
|
||||
OperatorCommand = "bsmtp -h <%= @mail_server %> -s \"Bacula Operator Message\" %r"
|
||||
mail = root = all, !skipped
|
||||
operator = root = mount
|
||||
append = "/var/log/bacula/bacula.log" = all, !skipped
|
||||
|
|
|
@ -24,8 +24,8 @@ Director {
|
|||
|
||||
Messages {
|
||||
Name = "Standard"
|
||||
MailCommand = "mail -s \"Bacula Message\" %r"
|
||||
OperatorCommand = "mail -s \"Bacula Operator Message\" %r"
|
||||
MailCommand = "bsmtp -h <%= @mail_server %> -s \"Bacula Message\" %r"
|
||||
OperatorCommand = "bsmtp -h <%= @mail_server %> -s \"Bacula Operator Message\" %r"
|
||||
mail = root = all, !skipped, !info
|
||||
operator = root = mount
|
||||
director = bacula-dir = all
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue