Am 19.03.2013 um 10:34 schrieb Manuel Trujillo <[email protected]>:
> Hi!
>
> I would like to know if there is any possibility to send a mail about the
> status of two jobs to a mail address different of the system mail (please,
> excuse me my bad english :-/).
>
I do it like this:
In bacula-dir.conf define a new Message ressource using a different e-mail
address:
Messages {
Name = "Message for 2 Jobs"
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"Bacula
\<[email protected]\>\" -s \"Bacula: %t %e of %c %l\" %r"
mail = [email protected] = all, !skipped
console = all, !skipped, !saved
append = "/var/log/bacula" = all, !skipped
}
Then use this new ressource in the job ressources of your two jobs:
Job {
...
Messages = "Messages for 2 Jobs"
...
}
--
Kind regards
Christoph
_________________________________________
Christoph Litauer
Uni Koblenz, Computing Centre, Office A 022
Postfach 201602, 56016 Koblenz
Fon: +49 261 287-1311, Fax: -100 1311
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users