Email errors

25 views
Skip to first unread message

Goncalo Sousa

unread,
May 12, 2020, 12:10:41 PM5/12/20
to bareos-users
Hello,

Since friday my bareos stopped sending emails (it sends reporting that it wasn't send).

By troubleshooting I noticed the sender address is a bit awkward - bar...@srvtsprdbos.domain.com

I havent done anything in bareos in last week that could do this error or something like that


Here is the output of the files that are in bareos-dir.d/messages


Standard.conf:
Messages {
  Name = Standard
  Description = "Reasonable message delivery -- send most everything to email address and to the console."
  operatorcommand = "/usr/bin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: Intervention needed for %j\" %r"
  mailcommand = "/usr/bin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: %t %e of %c %l\" %r"
  operator = root@localhost = mount                                 # (#03)
  mail =gro...@domain.pt = all, !skipped, !saved, !audit             # (#02)
  mail =gro...@domain.pt = all, !skipped, !saved, !audit             # (#02)
  Mail On Error =Windo...@domain.pt = all, !skipped, !terminate , !error , !warning , !fatal             # (#02)
  console = all, !skipped, !saved, !audit
  append = "/var/log/bareos/bareos.log" = all, !skipped, !saved, !audit
  catalog = all, !skipped, !saved, !audit
}

Daemon.conf:
Messages {
  Name = Daemon
  Description = "Message delivery for daemon messages (no job)."
  mailcommand = "/usr/bin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos daemon message\" %r"
  mail = root@localhost = all, !skipped, !audit # (#02)
  console = all, !skipped, !saved, !audit
  append = "/var/log/bareos/bareos.log" = all, !skipped, !audit
  append = "/var/log/bareos/bareos-audit.log" = audit
}

Oleg Volkov

unread,
May 14, 2020, 2:41:35 AM5/14/20
to bareos-users
According configuration mail send via "localhost", then check /var/log/mail or what you have configured for local mailer log.
Try to send test mail from shell (without bareos) first, like : mail -s test us...@domain.com
Reply all
Reply to author
Forward
0 new messages