Mailgun mail system not working (using Discourse)
So I’ve used discourse diagonostic tool and here’s the error :
==================== MAIL TEST ==================== For a robust test, get an address from http://www.mail-tester.com/ Or just send a test message to yourself. Email address for mail test? ('n' to skip) [firstname.lastname@example.org]: Sending mail to email@example.com. . . Testing sending to firstname.lastname@example.org using email@example.com:firstname.lastname@example.org:2525. ======================================== ERROR ======================================== Connection to port 2525 failed. ====================================== SOLUTION ======================================= The most likely problem is that your server has outgoing SMTP traffic blocked. If you are using a service like Mailgun or Sendgrid, try using port 2525. =======================================================================================
(I’ve removed all sensitive info here)
So it says that ports are closed. I’ve tried opening ports on the firewall typing ‘ufw allow 2525’ (ports numbers) but I still have these errors.
Any help is greatly appreciated