Bacula-users

Re: [Bacula-users] Mail notification

2013-04-03 05:42:02
Subject: Re: [Bacula-users] Mail notification
From: Sven Gehr <mailingliste AT dreampixel DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 03 Apr 2013 11:22:30 +0200

Am Montag, 28. Januar 2013, 10:09:32 schrieb Michael D. Wood:

 

ok, I change "localhost" to my internal mailserver and root@localhost to al real external mail-address. It work :-)

 

How can I set more then one receiver? I try it comma seperatet:

 

user1 AT domain DOT de,user2 AT domain DOT de

 

but it was not work.


Viele Grüsse

 

Sven Gehr

Do you see the -h localhost?  Change that and that's assuming you are able to relay the mail properly.

Sent from my Verizon Wireless 4GLTE smartphone

----- Reply message -----
From: "Sven Gehr" <mailingliste AT dreampixel DOT de>
To: <bacula-users AT lists.sourceforge DOT net>
Subject: [Bacula-users] Mail notification
Date: Mon, Jan 28, 2013 9:48 am


Hi@all,

I have my setup bacula ready. I have test backup & restore. Now I would
like an email notification. My message ressource:



Messages {
#___________________________________________________verarbeitet die
anfallenden Nachrichten/Meldungen
  Name = Standard
#____________________________________________eindeutiger Name
 
#____________________________________________________________Mail-Kommando
  mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
 
#____________________________________________________________Operator-Eingriff
  operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
  mail = root@localhost = all, !skipped #______________________welche
Medlungen sollen per Mail versendet werden
  operator = root@localhost = mount
  console = all, !skipped, !saved #____________________________welche
Meldungen sollen an der Konsole ausgegeben werden
  append = "/var/lib/bacula/log" = all, !skipped #_____________welche
Meldungen sollen an das Logfile angehängt werden
  catalog = all #______________________________________________welche
Meldungen sollen in den Katalog gespeichert werden
}


Messages {
#___________________________________________________verarbeitet die
anfallenden Nachrichten/Meldungen
  Name = Daemon
  mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula daemon message\" %r"
  mail = root@localhost = all, !skipped
  console = all, !skipped, !saved
  append = "/var/lib/bacula/log" = all, !skipped
}




What I need to change so that notification-mails send to an external
mail server (relay)?

--

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, _javascript_ and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--

Viele Grüsse

 

Sven Gehr

 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>