From: Keith S. <ke...@ne...> - 2008-07-31 12:01:54
|
Cesare Montresor wrote: > I'm using bacula 2.2.8 on debian, my e-mail notification is "mail on > error" but i would like to recive an e-mail on "OK with warning" jobs, > how to setup ? > I Have done this with: Messages { Name = Standard mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r" mail = me...@my... = all, !skipped operator = me...@my... = mount console = all, !skipped, !saved append = "/var/spool/bacula/log" = all, !skipped } Messages { Name = Daemon mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r" mail = me...@my... = all, !skipped console = all, !skipped, !saved append = "/var/log/bacula.log" = all, !skipped } If you search your bacula-dir.conf you will probably already have it there and just need to change root to your email address. > > Thanks, > Cesare > > > ------------------------------------------------------------------------- > 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 > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Keith Sudbury Netzen Solution Ltd Suite 5, Piccadilly House, London Rd, Bath, BA1 6PL, UK Mobile: +44 (0)7921464106 Tel: +44 (0)1225 588 588 Fax: +44 (0)1225 580 061 |