--- 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])

Edit foo.txt to have some text, then do from the shell:

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

This should deliver it to both [EMAIL PROTECTED] and [EMAIL PROTECTED], if it
doesn't, your.smtp.server or host.com might be filtering them (for example
here I have to fake the -f entry or my host.com refuses the mail, while
another recipient has no problems with nonexistent info behind -f).

If they do deliver, then the comma separated list I gave you should work,
doublecheck the entry. If all else fails, you might also try using a single
(local) address and have a .forward with procmail actually sending it to
two or more addresses. Or you could use some other mailer instead of bsmtp,
although I doubt that's the problem.


      ___________________________________________________________
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