Hi Philipp,

thanks for your help.
I worked around by using the "mail on error"-option.

But maybe improving bsmtp to accept multiple recipients would be an item
on the nice-to-have-list for the developers?!

Kind regards / Mit freundlichen Grüßen

Christian Steinherr


Am 30.07.2015 um 09:59 schrieb Philipp Storz:
> 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.
>>>>
> 
> 

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