Reset Email not sending #3113
-
Hi all, First: Great product you built. I deployed it on a Hetzner server in a Docker Coolify environment and after initial struggles it works really well. However, I noticed that password reset mails do not arrive. All I can find in the logs is " Do you have an idea what the problem could be? Is the timeout just kind of a catch-all error message, or a specific indication on a misconfiguration I can follow? Is the issue that it runs inside of Docker and that I need additional wiring? If so, are there variables I can set inside .env that let me do this, or would I need scripts to handle any of that? My .env email configuration (in case of obvious issues here already) is
Thanks for reading and thanks in advance 😄 Edit: Edit 2: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Sorry that you're struggling here. it could be that the port is not being correctly interpreted as an integer, I will try that and see if it works for you with your original settings. |
Beta Was this translation helpful? Give feedback.
@danny-avila Figured it out.
Apparently 587 cannot handle TLS on server connection sometimes? Usually people get around this by setting the nodemailer secure flag to false, which means initial communication to server is not encrypted. I did some trial and error experimentation, and apparently setting the librechat EMAIL_ENCRYPTION variable to nothing instead of TLS or whatnot achieves this behaviour. As a workaround this works for now. I am not sure about the implications here. Did I generally give up encryption? Does it use some default? How does this work if my server insists on encrypted communication?
Having an env variable for this while keeping the encryption as TLS might be nice. I…