I read through the docs and have even tried the test mail command but it does 
not work either.

here is the message section of fd and sd files 

Messages {
  Name = Standard
  director = tokyo-dir = all
}

here is my message section in bacula-dir.conf
  
######################################################################################
# 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.
#
        mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" 
-s \"Bacula: %t %e of %c %l\" %r"
        operatorcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) 
%r\" -s \"Bacula: Intervention needed for %j\"
        Mail = [EMAIL PROTECTED] = all, !skipped !terminate
        operator = [EMAIL PROTECTED] = 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/db/bacula/log" = all, !skipped !terminate
}

# Message delivery for daemon messages (no job).
Messages {
        Name = Daemon
        mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" 
-s \"Bacula daemon message\" %r"
        Mail = [EMAIL PROTECTED] = all
        console = all
        append = "/var/db/bacula/log" = all
}

my postfix on the local machine is broken right now, but that should not matter 
as bacula uses its own bsmtp right? 


-- 
Computer King/CaNMail

http://www.computerking.ca     http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S. Barton 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to