On Tue, 14 Jun 2011 04:39:31 -0700 Krysztofiak <bacula-fo...@backupcentral.com> wrote:
> Is it possible to call script instead of mail command in bacula > director? > > bacula-dir.conf: > > something like this > > Messages { > Name = Standard > mailcommand = "/usr/lib/messenger.pl %t %e %c %l" > operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula > \) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r" mail = > root@med-test = all, !skipped operator = root@med-test = mount > console = all, !skipped, !saved > } [...] bsmtp is just a regular executable, you're not forced to use it for sending Bacula mail. So I think just go ahead and use your script. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users