Re: [Bacula-users] How to send Bacula messages to different addresses based on backup job, not type
2009-03-03 09:29:43
On Fri, 13 Feb 2009, Foo might have said:
> Hi,
>
> Is it possible to send mail to different recipients depending on the
> backup job? I.e. operator messages and jobs backing up servers 100 to 200
> should be sent to address A, but e.g. error messages (or just all
> messages) concerning machines 110 to 120 should (also) be sent to address
> B.
>
> I couldn't find this in the manual, so I would think it's only possible
> via an extra 'append =' directive in all message sections, and doing some
> scripting on the resulting file.
On unix you could sent the mail to a sendmail alias, use the
"bacula-main-alias:|/opt/local/bin/parse-bacula-mail.sh" syntax. The
shell script would decide where the message should be redirected when
the alias receives it.
Mike
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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> |
- Re: [Bacula-users] How to send Bacula messages to different addresses based on backup job, not type,
Mike Eggleston <=
|
|
|