Hi there at bareos-users-list,
i ran into a kind of wired problem, that's not a big issue but in my
setup it's kind of annoying.
Im running bareos 14.2.4 and i setup a message-section like this, to
send a status-email to two different recipients. The idea was, as an
bareos-admin i wanted to be informed about anything that goes wrong with
these jobs, for example running out of media or unavailable clients and
on the other hand the enduser is happy to see the everydays message:
backup ok.
Messages {
Name = M_customname
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\"
-s \"Bareos: %t %e of %c %l\" %r"
operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bareos\)
\<%r\>\" -s \"Bareos: %t %e of %c %l\" %r"
mail = <<enduser>>@informatik.uni-augsburg.de = all, !skipped
operator = <<bareosadmin>>@informatik.uni-augsburg.de = all, !skipped
console = all, !skipped, !saved
append = "/var/log/bareos/bareos.log" = all, !skipped
catalog = all
}
My problem now is, e-mails that are send via the operator-command are
line-braked by every newline, every line that has it's own
time+date+host+jobid-prefix.
Those e-mails who are send out via mailcommand come as one e-mail with
all the logging data that belongs to the whole job, no just one line per
e-mail, as it is send out to the operator.
As you might noticed, both lines mailcommand and operatorcommand look
exactly the same, so i don't know how or where to modify my bareos-dir.conf
It's not a major or critical bug, but i would be a little less annoied
every day, just getting one email instead of five.
Maybe someone did experience the same bugs, and maybe some knows how to
circumvent, or maybe is little more into all the coding-stuff and patch
this out.
Kind regards / Mit freundlichen Grüßen
Christian Steinherr
P.S. to change mailcommand and operatorcommand vice versa was not that
kind of solution i was thinking of ;-)
--
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.