On 03/25/2014 04:04 PM, Sven Gehr wrote:
> Hi@all,
> 
> I have big problems with the email alert from bareos. Here is my 
> message-resource:
> 
> Messages {
>   Name = Standard
>   mailcommand = "/usr/sbin/bsmtp -h kolab.local.lan -f [email protected] -s 
> \"Bareos %t %e of %c %l\" %r"
>   operatorcommand = "/usr/sbin/bsmtp -h kolab.local.lan -f [email protected] 
> -s \"Bareos: Intervention needed for %j\" %r"
>   mail = [email protected] = mount = all, !skipped
>   operator = [email protected] = mount = mount

I wonder why you have an additional "= mount" here, shouldn't that be

  mail = [email protected] = all, !skipped
  operator = [email protected] = mount

>   console = all, !skipped, !saved
>   append = "/var/log/bareos/bareos.log" = all, !skipped
>   catalog = all
> }
> 
> Messages {
>   Name = Daemon
>   mailcommand = "/usr/sbin/bsmtp -h kolab.local.lan -f [email protected] -s 
> \"Bareos daemon message\" %r"
>   mail = [email protected] = all, !skipped
>   console = all, !skipped, !saved
>   append = "/var/log/bareos/bareos.log" = all, !skipped
> }
> 
> 
> 
> the values:
> 
> mailhost: kolab.local.lan
> sender: [email protected]
> receiver: [email protected]
> 
> 
> the result:
> 
> - The bootstrap-mail comes without the bootstrap-file in the mail-attachment
> - The bootstrap-mail comes with the value: ""@mail.domain2.de in the 
> from-field
> - The daemon-message are ok
> - The mails ..... "Intervention needed..." are ok too
> - I get no mails about the backup-jobs
> 
> 
> What is wrong with my config??
> 
> with best
> sven
> 

Regarding bootstrap mails, there's usually something like

  Write Bootstrap = "|/usr/sbin/bsmtp -h localhost -f \"\(Bareos\) \" -s 
\"Bootstrap for Job %j\" root@localhost"

in the BackupCatalog job definition only, do you mean that? How does your Write 
Bootstrap
configuration look like?

Regards

-- 
  Stephan Dühr                              [email protected]
  Bareos GmbH & Co. KG                      Phone: +49 221-630693-90
  http://www.bareos.com

  Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
  Komplementär: Bareos Verwaltungs-GmbH
  Geschäftsführer: S. Dühr, M. Außendorf,
  J. Steffens, Philipp Storz, M. v. Wieringen

-- 
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to