mgob icon indicating copy to clipboard operation
mgob copied to clipboard

Unable to send email via SMTP remote server

Open 15011992 opened this issue 3 years ago • 1 comments

Dear maintainers,

There is an issue with sending emails by the mgob application in my k8s cluster in Azure. It always returns: level=error msg="Notifier failed for on demand backup sending email notification failed: x509: certificate signed by unknown authority" I have manually installed the required certificates to /usr/local/share/ca-certificates and did updated-ca-certificates. Also I have created the global environment variable SSL_CERT_DIR (I suppose that this is necessary for application written in golang)

I'm sure that my credentials for SMTP server are correct cause I was able to connect to it from my mgob pod and sent an email.

Despite all of my actions the same error is shown each time. Please, advice any suggestion how to fix it.

Regards, Dmytro

15011992 avatar Sep 13 '22 14:09 15011992

I had a similar issue. checkout my fork https://github.com/maxisam/mgob

I fixed that issue with another email library at https://github.com/stefanprodan/mgob/commit/4ff3a137a4f974381e2873d5cfa49d2b20c9d185

At some point I will make a PR back to this but I want to finish some features first

maxisam avatar Sep 14 '22 20:09 maxisam