Re: [Bacula-users] Send mail only to one address for one job.
2013-03-21 05:28:08
2013/3/21 Christoph Litauer <litauer AT uni-koblenz DOT de>
>
> 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 \<bacula AT
> uni-koblenz DOT de\>\" -s \"Bacula: %t %e of %c %l\" %r"
> mail = mailaddress.for.2.jobs AT yourdomain DOT de = 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"
> ...
> }
Thank you very much Christoph!! I will test this ;-)
Manu
------------------------------------------------------------------------------
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
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|