-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Unable to send SMTP recovery link when using SMTP port 25 #7977
Comments
Hey @Xoffio Just to confirm do you have your mail server configured to use something like start tls with a self signed certificate? |
Hi @Joffcom. I have the ports 25, 465, and 587 open. Shouldn't 25 work without certificate? |
Hey @Xoffio, 25 can work without a certificate but in your case it looks like it is trying to validate the cert so I suspect it is trying to negotiate for starttls. Although the certificate error could be unrelated, Can you enable debug logging and see if it shows anything else? |
Hey @Joffcom Here is what I got from the logs:
|
Hey @Xoffio, Alright so it looks like the mail service is using TLS for port 25, We would need to add an option to allow support for self signed certificates to work around this in the future. |
I'm getting the same first part of this error when trying to recover my password except I think this is unrelated to port 25 as n8n is trying to email via Gmail and its setup with N8N_SMTP_SSL=true and N8N_SMTP_PORT=587. I thought issue is with I will now try with a local smtp server without TLS and on port 25. Result: exactly the same error.
|
Hey @ovizii, Your error seems to be unrelated to the mail server and is instead likely to be a configuration issue. |
The |
Good news, This was changed in #9415 and you can now disable StartTLS if you just want to use plain SMTP. To enable this option set |
Describe the bug
When setting up SMTP with port 25, n8n is unable to email a recovery link.
To Reproduce
Steps to reproduce the behavior:
Start your container
Go to
http://yourN8nHostOrIP/forgot-password
and try to send an email. You will get this error:Connect to the container to get the logs:
Expected behavior
n8n should be able to send the email without any error.
Environment (please complete the following information):
Additional context
I am able to send emails with the
Send Email
node, when the optionIgnore SSL Issues
is enable.The error that i get when I try to reset my password
Error: unable to verify the first certificate
is the same error i get when i try to useSend Email
withIgnore SSL Issues
disabled. Maybe we can have a ENV variable to do the same?The text was updated successfully, but these errors were encountered: