Bacula-users

Re: [Bacula-users] message resource

2008-10-15 04:59:38
Subject: Re: [Bacula-users] message resource
From: Steffen Knauf <Steffen.Knauf AT renderforce DOT de>
To: Adrian Moisey <adrian AT careerjunction.co DOT za>
Date: Wed, 15 Oct 2008 10:51:53 +0200
Hi Adrian,
> Hi
>
> I would like some people to receive e-mails with errors and other people 
> to get the full messages.  Can I do this?
>   
You can set the MailOnError command in your message definiton. You can 
find all available options on the website:

http://www.bacula.org/en/rel-manual/Messages_Resource.html#mailcommand

> My current message resource:
>
> Messages {
>    Name = Standard
>    mailcommand = "/usr/lib/bacula/bsmtp -f \"\(Bacula\) 
> \<root@cj-cpt-backup01\>\" -s \"Bacula: %t %e of %c %l\" %r"
>    operatorcommand = "/usr/lib/bacula/bsmtp -f \"\(Bacula\) 
> \<root@cj-cpt-backup01\>\" -s \"Bacula: Intervention needed for %j\" %r"
>
>    mail = adrian AT careerjunction.co DOT za = all, !skipped
>
>    operator = adrian AT careerjunction.co DOT za = mount
>    console = all, !skipped, !saved
>    append = "/var/lib/bacula/log" = all, !skipped
>    # for webacula
>    catalog = all, !skipped, !saved
> }
>
> Can I have 2 "mail" destinations ?
>
>
>   
 You can set  the mail command twice:

 mail = name1@email = all, !skipped
 mail = name2@email = all, !skipped

Steffen


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>