On Wednesday, 20 December 2017 21:31:38 UTC+5:30, Bruno Friedmann  wrote:
> bsmtp is really a simple client, unable to process login and so on...
> 
> So check firstly if your mail server accept unauthenticated mail from your 
> bareos instance.
> 
> 
> 
> Normally you should be able to find success or failure on your mail server 
> logs.
> 
> 
> 
> 
> On December 19, 2017 12:51:51 AM GMT+01:00, Umesh Kumar Dubey 
> <[email protected]> wrote:
> Hi,
> 
> I have configured bareos on windows server 2016 R2 and its working properly 
> but while backup completed unable to send mail to me on mentioned email id 
> bereos configuration file and also if backup got failed same unable to send 
> mail.
> 
> I have already installed send mail on this server and tested from Power shell 
> and CMD,Its working properly but bereos unable to send mail to me.
> 
> See below configuration file. 
> 
>  C:\ProgramData\Bareos\bareos-dir.d\messages
> 
> 1. Daemon.conf 
> 
> Messages {
>   Name = Daemon
>   Description = "Message delivery for daemon messages (no job)."
>   mailcommand = "C:/Program Files/Bareos/bsmtp -h xxx.xxx.com -f \"\(Bareos\) 
> \<%r\>\" -s \"Bareos daemon message\" %r"
>   mail = [email protected] = all, !skipped, !audit # (#02)
>   console = all, !skipped, !saved, !audit
>   append = "C:/ProgramData/Bareos/logs/bareos.log" = all, !skipped, !audit
>   append = "C:/ProgramData/Bareos/logs/bareos-audit.log" = audit
> }
> 
> Here --> xxx.xxx.com (my mail server name)
> 
> 2.Standard.conf
> 
> 
> Messages {
>   Name = Standard
>   Description = "Reasonable message delivery -- send most everything to email 
> address and to the console."
>   operatorcommand = "C:/Program Files/Bareos/bsmtp -h xxx.xxx.com -f 
> \"\(Bareos\) \<%r\>\" -s \"Bareos: Intervention needed for %j\" %r"
>   mailcommand = "C:/Program Files/Bareos/bsmtp -h xxx.xxx.com -f \"\(Bareos\) 
> \<%r\>\" -s \"Bareos: %t %e of %c %l\" %r"
>   operator = [email protected] = mount                                 # 
> (#03)
>   mail = [email protected] = all, !skipped, !saved, !audit             # 
> (#02)
>   console = all, !skipped, !saved, !audit
>   append = "C:/ProgramData/Bareos/logs/bareos.log" = all, !skipped, !saved, 
> !audit
>   catalog = all, !skipped, !saved, !audit
> }
> 
> 
> Here xxx.xxx.com ----> My mail server
> 
> Can you please help for this issue ?
> 
> Regards,
> Umesh Dubey
> 
> 
> -- 
> 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

Hi Bruno,

Thanks for reply.

I have tested from Power shell and cmd,mails are successfully delivering from
Windows server (Where has installed Bareos backup installed ) but Bareos unable 
to send mail.

Ran the mail sent by another command from both PowerShell and CMD as

PowerShell= Send-MailMessage -From "[email protected]" -To "[email protected]" 
-SmtpServer "smtp.shipco.com" -Subject "Test3" -Body "Backup"

CMD= C:/Windows/System32/WindowsPowerShell/v1.0>powershell.exe Send-MailMessage 
-From "[email protected]" -To "[email protected]" -SmtpServer "smtp.shipco.com" 
-Subject "Test3" -Body "Backup"



 

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