By: Alex Moniatovsky user 05 Dec 2017 at 4:49 p.m. CST

6 Responses
Alex Moniatovsky gravatar
Hello, I have enabled Self-Service Password Reset in configuration and configured SMTP server(pressed Test Configuration button and got a successful response). After submitting reset password form (by the link on login form) with the valid email, I got the message "Please Check your Email for Password Reset Link". But no emails have been received, I have tried several times. Could you please suggest what could be the reason? Attached oxTrust log: - test SMTP connection timestamp: 22:40 - send reset password email timestamp: 22:41 BTW, I have tested next negative cases: 1) Entered invalid email test@test.com 2) submit password rest form with not configured SMTP. In both cases, I still got the same message "Please Check your Email for Password Reset Link". Thank you in advance, Alex

By Sahil Arora user 06 Dec 2017 at 8:01 a.m. CST

Sahil Arora gravatar
Hi Alex, From error logs `2017-12-05 22:41:21,549 ERROR [qtp985655350-16] [org.xdi.service.MailService] (MailService.java:105) - Failed to send message javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25 ` , It seems your SMTP configuration is incorrect. Please click on "Test Configuration" in SMTP Server configuration screen and let me know what message do you see. > BTW, I have tested next negative cases: 1) Entered invalid email test@test.com 2) submit password rest form with not configured SMTP. In both cases, I still got the same message "Please Check your Email for Password Reset Link". I will try this and open Issue. Thank you for checking and notifying us.

By Alex Moniatovsky user 06 Dec 2017 at noon CST

Alex Moniatovsky gravatar
Hi Sahil, As I mentioned above I have tested SMTP connection: > I have enabled Self-Service Password Reset in configuration and configured SMTP server(pressed Test Configuration button and got a successful response) The successful response is **SMTP Test succeeded** pop-up message in the top right part of the screen. I also saw this exception in logs and it is confusing me, I have entered host **172.10.0.20**, I am surprised why it prints **localhost** in logs...

By Alex Moniatovsky user 13 Dec 2017 at 5:35 p.m. CST

Alex Moniatovsky gravatar
Hi Sahil, Do you have any updates on this issue?

By Sahil Arora user 21 Dec 2017 at 9:02 a.m. CST

Sahil Arora gravatar
Hi Alex, I'm not able to reproduce this issue on both 3.1.1 and 3.1.2 (going to be released in Jan). I do get email with password reset link for valid smtp configuration. Regarding invalid email address test, You will get email like below when user is not registered. ``` "You (or someone else) entered this email when trying to change the password of xx identity server account. However this email address is not on our database of registered users and therefore the attempted password change has failed. If you are a xx identity server user and were expecting this email, please try again using the email address you gave when registering your account. If you are not xx identity server user, please ignore this email. Kind regards, Support Team" ```

By Md Mahabub Alam user 21 Nov 2019 at 1:08 a.m. CST

Md Mahabub Alam gravatar
I am also facing the similar issue with password reset in gluu 3.1.4 For my case- 1. I get the reset password mail link 2. Goes to password reset page also 3. When apply password reset then redirecting login page even though password not getting reset and old password still works.. 4. No error logs in oxtrust or opendj also Need urgent help