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\) 
> \<[EMAIL PROTECTED]>\" -s \"Bacula: %t %e of %c %l\" %r"
>    operatorcommand = "/usr/lib/bacula/bsmtp -f \"\(Bacula\) 
> \<[EMAIL PROTECTED]>\" -s \"Bacula: Intervention needed for %j\" %r"
>
>    mail = [EMAIL PROTECTED] = all, !skipped
>
>    operator = [EMAIL PROTECTED] = 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 = [EMAIL PROTECTED] = all, !skipped
 mail = [EMAIL PROTECTED] = 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to