Ask questionsBug: Password reset emails not sent
Other Wekan issues can be added here.
Server Setup Information:
Problem description: When our users use the password reset function in Wekan, emails are not sent to the SMTP server due to a connection timeout. However other emails through Wekan such as when actions are performed on a watched board are sent like normal. The error in the log is:
Exception while invoking method 'forgotPassword' Error: Connection timeout email@example.com | at SMTPConnection._formatError (/build/programs/server/npm/node_modules/meteor/email/node_modules/node4mailer/lib/smtp-connection/index.js:558:19) firstname.lastname@example.org | at SMTPConnection._onError (/build/programs/server/npm/node_modules/meteor/email/node_modules/node4mailer/lib/smtp-connection/index.js:531:20) email@example.com | at Timeout._connectionTimeout.setTimeout (/build/programs/server/npm/node_modules/meteor/email/node_modules/node4mailer/lib/smtp-connection/index.js:249:18) firstname.lastname@example.org | at ontimeout (timers.js:498:11) email@example.com | at tryOnTimeout (timers.js:323:5) firstname.lastname@example.org | at Timer.listOnTimeout (timers.js:290:5)
The configuration in the docker-compose.yaml file is:
- MAIL_URL=smtp://smtp.company-url:25 - MAIL_FROMemail@example.com
In the Wekan admin panel:
The settings match but for some reason password resets fail. Can you tell me when the docker variables are used and when the admin panel variables are used for sending mail and if there is some different function for sending mail for password resets?
Out current workaround is to manually pull the password reset token out of the database but this isn't very sustainable for thousands of users.
Answer questions GavinLilly
No it's a SMTP server/relay provided on our corporate network. Unfortunately I don't know the architecture. Just to be clear, emails are working from Wekan, but only during low-usage times (evenings, weekends etc.)