Hello Christian,

as %r is replaced by the recipients in comma-separated form, your configuration 
results in a call of

"bin/bsmtp -h localhost -f "(Bareos) <[email protected] [email protected]>" -s "Bareos: 
Backup OK of xxx-fd
Incremental" [email protected] [email protected]"

This does not work as bsmtp does not understand multiple recipients like that 
and the mailer says:

warning: Illegal address syntax from localhost[127.0.0.1] in MAIL command: 
<[email protected] [email protected]>

As solutoin you can:

- either remove the "mailcommand" definition, which will then be the default 
which is
"mail -s ”Bareos Message” <recipients>" and works with multiple recipients.

- use this as a base and configure what you want to see in your messages.

- you use one single mailaddress and use an alias to spread the mail to as many 
recipients as you wish.


Best regards,

Philipp


Am 29.07.2015 um 14:05 schrieb Christian Steinherr (DV-Betreuer Informatik):
> Hi,
> 
> it tried in my message-section:
> mail = [email protected] , [email protected] = all, !skipped
> 
> But i received no e-mail, after the job ran successfully. According to
> the manual, address can be a comma separated list. Doesn't seem to work
> at all. Any Ideas about sending e-mails to multiple recipients?
> 
> Kind regards / Mit freundlichen Grüßen
> 
> Christian Steinherr
> 
> 
> Am 30.06.2015 um 10:15 schrieb Christian Steinherr (DV-Betreuer Informatik):
>> Hi Marco,
>>
>> ah got, doesn't sound so stupid with this idea in mind ;-)
>> I didn't figure out how to concatenate a correct mailcommand; And i
>> tried a lot. But none worked, even the manual was not helpful.
>>
>> Kind regards/ Mit freundlichen Grüßen
>>
>> Christian Steinherr
>>
>> Am 29.06.2015 um 18:43 schrieb Marco van Wieringen:
>>> On 06/29/15 02:32 PM, Christian Steinherr (DV-Betreuer Informatik) wrote:
>>>> Hi there at bareos-users-list,
>> [...]
>>>
>>> Why don't you just send the mail using the mailcommand to an alias which
>>> sends it to both the end-user and the admin user.
>>>


-- 
Mit freundlichen Grüßen

 Philipp Storz                             [email protected]
 Bareos GmbH & Co. KG                      Phone: +49 221 63 06 93-92
 http://www.bareos.com                     Fax:   +49 221 63 06 93-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Geschäftsführer: Stephan Dühr, M. Außendorf,
 J. Steffens, P. Storz, M. v. Wieringen

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to