Hi Guys, I want single email for all my successful jobs for a complete day and separate email for all operator issues for which admin intervention is needed and for error messages.
Please tell me how can I do that ? I am getting separate mails for all completed jobs as well as for all error and operator messages with below configuration. Although I am getting all error mail twice so I am planning to remove this "erroronmessage" option. Messages { Name = Standard mailcommand = "/usr/sbin/bsmtp -h localhost -f bacula@bacula-dir -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/sbin/bsmtp -h localhost -f bacula@bacula-dir -s \"Bacula: Intervention needed for %j\" %r" mail = XXXX@XXXXXXX = all, !skipped operator = XXXX@XXXXXXX = mount console = all, !skipped, !saved catalog = all, !skipped, !saved # mailonerror = XXXX@XXXXXXX = all append = "/var/log/bacula/bacula.log" = all, !skipped } Messages { Name = Daemon mailcommand = "/usr/sbin/bsmtp -h localhost -f bacula@bacula-dir -s \"Bacula daemon message\" %r" mail = XXXX@XXXXXXX = all, !skipped console = all, !skipped, !saved append = "/var/log/bacula/bacula.log" = all, !skipped } Thanks in advance...!!! ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users