Guest User

Untitled

a guest
Jun 11th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. Catalog {
  2. Name = MyCatalog
  3. # Uncomment the following line if you want the dbi driver
  4. # dbdriver = "dbi:sqlite3"; dbaddress = 127.0.0.1; dbport =
  5. dbname = "dbname"; dbuser = "username"; dbpassword = "dbpassword"
  6. }
  7.  
  8. # Reasonable message delivery -- send most everything to email address
  9. # and to the console
  10. Messages {
  11. Name = Standard
  12. #
  13. # NOTE! If you send to two email or more email addresses, you will need
  14. # to replace the %r in the from field (-f part) with a single valid
  15. # email address in both the mailcommand and the operatorcommand.
  16. # What this does is, it sets the email address that emails would display
  17. # in the FROM field, which is by default the same email as they're being
  18. # sent to. However, if you send email to more than one address, then
  19. # you'll have to set the FROM address manually, to a single address.
  20. # for example, a 'no-reply@mydomain.com', is better since that tends to
  21. # tell (most) people that its coming from an automated source.
  22.  
  23. #
  24. mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
  25. operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
  26. mail = myemail@domain.com = all, !skipped
  27. operator = myemail@domain.com = mount
  28. console = all, !skipped, !saved
  29. #
  30. # WARNING! the following will create a file that you must cycle from
  31. # time to time as it will grow indefinitely. However, it will
  32. # also keep all your messages if they scroll off the console.
  33. #
  34. append = "/var/spool/bacula/log" = all, !skipped
  35. catalog = all
  36. }
  37.  
  38.  
  39. #
  40. # Message delivery for daemon messages (no job).
  41. Messages {
  42. Name = Daemon
  43. mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
  44. mail = root@localhost = all, !skipped
  45. console = all, !skipped, !saved
  46. append = "/var/log/bacula.log" = all, !skipped
Add Comment
Please, Sign In to add comment