I wrote an answer to this but it disappeared, so here goes again:

--- luyigui loholhlki <[EMAIL PROTECTED]> wrote:

> hi i'm just a beginner in bacula !!!!:)
> could u please tellme what to put in the clause
> ##########################
> Messages {
>   Name = standard
> 
> mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
> \"message \" %r"
>   mail = [EMAIL PROTECTED] = all, !skipped
>   console = all, !skipped, !saved
>   append = "/var/bacula/log" = all, !skipped
> }
> ###########################
> 
> i want to send an e-mail to (e.g [EMAIL PROTECTED] and [EMAIL PROTECTED])

I answered this one, multiple comma separated addresses worked for me. If
that doesn't work for you (after checking the syntax again), you might want
to try running the bsmtp util manually to try if the mail is delivered at
all, and then perhaps another util like sendmail, nullmailer or whatever to
check why not.

I tried from a shell (and it worked):

/sbin/bsmtp -h your.smtp.server -f "(Bacula) [EMAIL PROTECTED]" -s
"Bacula test message" [EMAIL PROTECTED] [EMAIL PROTECTED] <foo.txt

(where foo.txt contains the message body) If this doesn't work for you
either your.smtp.server or host.com might be rejecting mail based on
headers (what you put behind -f for example).


      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to