The user Sasiko is experiencing issues with email sending on their Discourse installation, despite being able to send emails successfully via telnet and an online test tool. Although the system logs show no errors or email activity, Discourse fails to send registration or password reset emails. The user has confirmed that their mail server is functional (working with Roundcube), ports are not blocked, and they have already tried solutions from the official troubleshooting guide, including setting DISCOURSE_SMTP_ENABLE_START_TLS to false and ensuring the notification_email setting is correctly configured. IAmGav suggests checking the app.yml file, which Sasiko confirms is already configured. Another user, zgy, reports a similar issue with a “Connection reset by peer” error, indicating a potential common problem with email delivery in Discourse installations.
i already read that and it still doesnt work. i use mail tester and that works fine, no port are blocked
Started POST "/session/forgot_password" for 162.158.134.56 at 2020-07-22 15:59:02 +0000
Processing by SessionController#forgot_password as */*
Parameters: {"login"=>"mail@gmail.com"}
Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 5382)
im hosting my own mailserver and sending emails works fine from roundcube. only issue is that discourse cant send any email at all and theres no logs that show errors or issues
Were you able to solve this issue? I am having the same problem and I am getting “Job exception: Connection reset by peer” error everytime Discourse tries to send an email.