----- Arno Lehmann <[EMAIL PROTECTED]> wrote: > Hello, > > On 3/26/2006 4:05 PM, RYAN M. vAN GINNEKEN wrote: > > I read through the docs and have even tried the test mail command > but it does not work either. > > It can't, as you say yourself, below... > > By the way: In the subject, you state that console messages don't > work, > but you don't give any details... > > ... > > here is my message section in bacula-dir.conf > > > > Rewrote my message section with the one from the batdocs made a few minor adjustments and volia now messages are working even with a partly broken internal postfix. Anyway thanks Arno my console messages are working agian too yaaaah.
> ###################################################################################### > > # 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? > > That _does_ matter as long as you tell bsmtp to send messages to the > MTA > at the local machine... if you don't want to use a local MTA, you can > > also point bsmtp to a remoter one, but you have to make sure that your > > backup machine is allowed to send mail then. > > Arno > > > > > > -- > IT-Service Lehmann [EMAIL PROTECTED] > Arno Lehmann http://www.its-lehmann.de > > > ------------------------------------------------------- > 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 -- 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