Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Catalog {
- Name = MyCatalog
- # Uncomment the following line if you want the dbi driver
- # dbdriver = "dbi:sqlite3"; dbaddress = 127.0.0.1; dbport =
- dbname = "dbname"; dbuser = "username"; dbpassword = "dbpassword"
- }
- # Reasonable message delivery -- send most everything to email address
- # and to the console
- Messages {
- Name = Standard
- #
- # NOTE! If you send to two email or more email addresses, you will need
- # to replace the %r in the from field (-f part) with a single valid
- # email address in both the mailcommand and the operatorcommand.
- # What this does is, it sets the email address that emails would display
- # in the FROM field, which is by default the same email as they're being
- # sent to. However, if you send email to more than one address, then
- # you'll have to set the FROM address manually, to a single address.
- # for example, a 'no-reply@mydomain.com', is better since that tends to
- # tell (most) people that its coming from an automated source.
- #
- mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
- operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
- mail = myemail@domain.com = all, !skipped
- operator = myemail@domain.com = mount
- console = all, !skipped, !saved
- #
- # WARNING! the following will create a file that you must cycle from
- # time to time as it will grow indefinitely. However, it will
- # also keep all your messages if they scroll off the console.
- #
- append = "/var/spool/bacula/log" = all, !skipped
- catalog = all
- }
- #
- # Message delivery for daemon messages (no job).
- Messages {
- Name = Daemon
- mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
- mail = root@localhost = all, !skipped
- console = all, !skipped, !saved
- append = "/var/log/bacula.log" = all, !skipped
Add Comment
Please, Sign In to add comment