Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send-mail error #7

Open
Valdri opened this issue Aug 27, 2021 · 7 comments
Open

send-mail error #7

Valdri opened this issue Aug 27, 2021 · 7 comments

Comments

@Valdri
Copy link

Valdri commented Aug 27, 2021

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

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

pke commented Nov 29, 2021

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

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

@rudaki
Copy link

rudaki commented Mar 25, 2022

"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
Copy link

"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
Copy link

rudaki commented Mar 26, 2022

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

ovizii commented May 11, 2023

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

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

No branches or pull requests

6 participants