Bacula-users

[Bacula-users] How to send a mail after a Job ?

2009-06-10 06:00:16
Subject: [Bacula-users] How to send a mail after a Job ?
From: Tolj Mario <mario.tolj AT champittet DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 10 Jun 2009 11:55:53 +0200
Hello,

Sorry if my english isn't very well.

I'm trying to configure Bacula to send me a mail after a Job (Succes or 
Error, etc...). but i'm not sure how to configure that.

My Linux server is in my windows Active Directory, so i try to send a 
mail to two of my Active Directory users (user1 AT test DOT ch and user2 AT 
test DOT ch)

In the bacula-dir.conf i'have try to only put the email addresses in the 
Message ressource separated by a ";" but it doesn't work. I think it's a 
little bit more complicated than that :)

Messages {
  Name = Standard
  mailcommand = "/usr/sbin/bsmtp -h *user1 AT test DOT ch;user2 AT test DOT ch* 
\ -f 
\"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/usr/sbin/bsmtp -h *user1 AT test DOT ch;user2 AT test DOT 
ch \* 
-f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
  console = all, !skipped, !saved
  append = "/var/lib/bacula/log" = all, !skipped
}


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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>