Password reset SMTP "kind: InvalidData,, error: CorruptMessage" #517
Unanswered
Entheologian
asked this question in
Q&A
Replies: 2 comments 5 replies
-
I have the exact same issue :-( |
Beta Was this translation helpful? Give feedback.
2 replies
-
Right, when I was referring to SSL it's because it's what you find when you
look up Google's SMTP settings. In our case, I'd recommend TLS with port
465. The response you got (invalid credentials) is from Google, so it's
working as intended. You probably need an app password to be able to
connect with just a password to Gmail, though.
…On Sat, 7 Oct 2023, 00:39 Karstensson, ***@***.***> wrote:
Wow, thanks for a quick reply! There is no way to select SSL in
lldap_config, only options are None, TLS and START TLS.
When I runt TLS on port 465 I get:
2023-10-06T22:35:28.831231581+00:00 WARN │ ┝━ 🚧 [warn]: Error sending
email: lettre::transport::smtp::Error { kind: Permanent( Code { severity:
PermanentNegativeCompletion, category: Unspecified3, detail: Five, }, ),
source: "5.7.8 Username and Password not accepted. Learn more at5.7.8
https://support.google.com/mail/?p=BadCredentials
i25-20020a1709064ed900b009b947aacb4bsm3489498ejv.191 - gsmtp", }
When I run STARTTLS port port 465 I get
2023-10-06T22:36:42.562941533+00:00 DEBUG │ ┝━ 🐛 [debug]: Sending email
to ***@***.***' as 'LLDAP Admin ***@***.***>' via '
***@***.***'@'smtp.gmail.com':'465'
2023-10-06T22:36:52.672136425+00:00 WARN │ ┝━ 🚧 [warn]: Error sending
email: lettre::transport::smtp::Error { kind: Response, source: "incomplete
response", } 2023-10-06T22:36:52.672140836+00:00 INFO │ ┕━ i [info]: Reset
token:
r8ZBmKfIwlKps8DyHF84slx2Vl8M3WyLHhKdbhG85LW2n07xVAHksqDx86RULgVCD096XFd5mHCrHyY1mchSHXfnaIszvWQyOk2q
2023-10-06T22:36:52.672168105+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 500
When I run STARTLS on påort 587 i get
2023-10-06T22:38:54.919918504+00:00 WARN │ ┝━ 🚧 [warn]: Error sending
email: lettre::transport::smtp::Error { kind: Permanent( Code { severity:
PermanentNegativeCompletion, category: Unspecified3, detail: Five, }, ),
source: "5.7.8 Username and Password not accepted. Learn more at5.7.8
https://support.google.com/mail/?p=BadCredentials
by8-20020a170906a2c800b009b913aa7cdasm3486810ejb.92 - gsmtp", }
—
Reply to this email directly, view it on GitHub
<#517 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGCPWNGZVOXYQ6LI4RXOULX6CCBZAVCNFSM6AAAAAAWPSRUHKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TEMJUGA4DK>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have these SMTP options set and when I try to reset a password for an existing account using the username, I see the message, but no email is sent and no errors in logs (with verbose enabled):
If I try using with the email address, I get this message:
These are the SMTP options I have set:
The logs show this (obfuscated contact info):
Did I mis-configure the email settings?
Beta Was this translation helpful? Give feedback.
All reactions