>>>>> On Tue, 15 Feb 2022 15:10:34 +0100, Helmut Schneider said: > > Am 14.02.2022 um 19:31 schrieb Martin Simmons: > >>>>>> On Mon, 14 Feb 2022 16:53:39 +0100, Helmut Schneider said: > >> > >> --> Messages: name=MailEverything > >> mailcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > >> "Testing Bacula MailEverything: %t %e of %c (%f - %l)" %r > >> opcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > >> "Testing Bacula MailEverything: Intervention needed for %j" %r > > > > That looks like it should work. It might be a bug. > > > > Are there any other Messages resources (e.g. use "show messages")? > > Messages: name=Default > mailcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > "Bacula: %t %e of %c (%f - %l)" %r > opcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > "Bacula: Intervention needed for %j" %r > Messages: name=MailEverything > mailcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > "Testing Bacula MailEverything: %t %e of %c (%f - %l)" %r > opcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > "Testing Bacula MailEverything: Intervention needed for %j" %r > Messages: name=MailEverythingButSkipped > mailcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > "Bacula: %t %e of %c (%f - %l)" %r > opcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > "Bacula: Intervention needed for %j" %r > Messages: name=MailOnlyErrors > mailcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > "Bacula: %t %e of %c (%f - %l)" %r > opcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > "Bacula: Intervention needed for %j" %r
That looks OK, so I can explain it. I can't think of anything else to try other than running a development version of bacula-dir under gdb to see how the function open_mail_pipe gets the wrong command. __Martin _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users