Hi@all, after new install the bareos server I would like to arrange for the bootstrap-file to be sent by e-mail. All mesages about success or error and the bootstrap-file should send to: [email protected]
I have edit the file as described below [/etc/bareos/bareos-dir.d/job/BackupCatalog.conf] ... Write Bootstrap = "|/usr/bin/bsmtp -h smtp.intern.lan -f \"\(Bareos\) \" -s \"Bootstrap for Job %j\" [email protected]" ... [/etc/bareos/bareos-dir.d/messages/Daemon.conf] ... mailcommand = "/usr/bin/bsmtp -h smtp.intern.lan -f \"\(Bareos\) \<%r\>\" -s \"Bareos daemon message\" %r" mail = [email protected] = all, !skipped, !audit ... [/etc/bareos/bareos-dir.d/messages/Standard.conf] ... operatorcommand = "/usr/bin/bsmtp -h smtp.intern.lan -f \"\(Bareos\) \<%r\>\" -s \"Bareos: Intervention needed for %j\" %r" mailcommand = "/usr/bin/bsmtp -h smtp.intern.lan -f \"\(Bareos\) \<%r\>\" -s \"Bareos: %t %e of %c %l\" %r" operator = [email protected] = mount mail = [email protected] = all, !skipped, !saved, !audit ... I restart the server, start backup and the mails with "backup ok" or "backup error / warning" will be send to [email protected] except the mail with the bootstrap looks bad: Von: invalid@invalid <invalid@invalid> Gesendet: Dienstag 27 November 2018 21:18 An: Info User <[email protected]> Betreff: Bootstrap for Job BackupCatalog.2018-11-27_21.10.00_08 # 27-Nov-2018 21:18:34 - BackupCatalog.2018-11-27_21.10.00_08 - Full Volume="Full-0010" MediaType="File" VolSessionId=107 VolSessionTime=1541178409 VolAddr=103557693677-104051476882 FileIndex=1-88 wrong sender and no bootstrap-file. How can I change that? with best sven -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
