Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Unable to send email via SMTP remote server #160

Closed
dmytro-pashynskyi opened this issue Sep 13, 2022 · 1 comment
Closed

Unable to send email via SMTP remote server #160

dmytro-pashynskyi opened this issue Sep 13, 2022 · 1 comment

Comments

@dmytro-pashynskyi
Copy link

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

@maxisam
Copy link

maxisam commented Sep 14, 2022

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

I fixed that issue with another email library at 4ff3a13

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants