guillaumeaubert / gmvault-docker

A Docker image that runs Gmvault on a regular basis, with both quick (daily) and full (weekly) synchronization schedules. Emails out sync reports through ssmtp.
https://hub.docker.com/r/aubertg/gmvault-docker/
MIT License
30 stars 30 forks source link

send-mail error #7

Open Valdri opened 3 years ago

Valdri commented 3 years ago

error: send-mail: Server didn't like our AUTH LOGIN (530 5.7.0 Must issue a STARTTLS command first.

my ssmtp.conf config is exactly the same as in example config from readme

crashingrob commented 3 years ago

I'm having the same problem. I copied the readme exactly (substituting my email and password) and yet am consistently getting this error. Any ideas?

pke commented 2 years ago

Why is one even forced to use the email report function? What if I just don't care? @guillaumeaubert There is a PR open to make email reporting optional.

bleistift2 commented 2 years ago

Is there a fix for the mail sending problem? I'm getting "send-mail: Cannot open mailhub:25" conf reads correctly

rudaki commented 2 years ago

"send-mail: Cannot open mailhub:25"

To resolve, one needs to include "UseTLS=Yes" within ssmtp.conf; as an example, insert a new line with "UseTLS=Yes" following "FromLineOverride=YES", less quotes.

"substituting my email and password"

If applicable, use an 'App Password' for the 'AuthPath', not your usual credential.

bleistift2 commented 2 years ago

"send-mail: Cannot open mailhub:25"

To resolve, one needs to include "UseTLS=Yes" within ssmtp.conf; as an example, insert a new line with "UseTLS=Yes" following "FromLineOverride=YES", less quotes.

"substituting my email and password"

If applicable, use an 'App Password' for the 'AuthPath', not your usual credential.

Thank you, I have "UseSTARTTLS=YES". After a restart of the container it has been working well. Do you recommend changing STARTTLS to TLS anyway?

rudaki commented 2 years ago

Thank you, I have "UseSTARTTLS=YES". After a restart of the container it has been working well.

Glad to hear.

Do you recommend changing STARTTLS to TLS anyway?

If it ain't broken, don't fix it! An interesting article for your information; https://kunder.support/knowledgebase/400/SSL-vs-TLS-vs-STARTTLS.html

ovizii commented 1 year ago

Are we meant to replace UseSTARTTLS=YES with UseTLS=YES or do we additionally add UseTLS=YES