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 u...@domain.com



On Tuesday, May 12, 2020 at 7:10:41 PM UTC+3, Goncalo Sousa wrote:
>
> 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 <javascript:>
>
> 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 <javascript:> = all, !skipped, !saved, 
> !audit             # (#02)
>   mail =gro...@domain.pt <javascript:> = all, !skipped, !saved, 
> !audit             # (#02)
>   Mail On Error =windo...@domain.pt <javascript:> = 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
> }
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/92d0b49b-e5a1-4cda-be2a-010c8be7a880%40googlegroups.com.

Reply via email to