I have a well runing self-hosted disourse install on a VPS with ubuntu 18.04 for about a year now. As the forum has grown, I started prepairing to switch to a more powerful VPS. So, I took a minimal ubuntu 20.04 image, applied some typical hardenings and installed discourse docker following the 30 mins install guide. I used the exact same values as for the well running install. But: the activation e-mail is not sent. The Troubleshooting email on a new Discourse install guide did not help - I can connect using telnet, but am getting the following error when running
>==================== 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) [anonymized]: test-9ymkghbvc@srv1 mail-tester com Sending mail to email@example.com com. . . Testing sending to firstname.lastname@example.org com using smtp mailbox org:587. ==================== ERROR ====================== UNEXPECTED ERROR > >503 5.5.1 Error: authentication not enabled > > >================== SOLUTION ===================== >This is not a common error. No recommended solution exists! > >Please report the exact error message above to https //meta discourse org/ (And a solution, if you find one!) =================================================
(had to strip off some pieces of the URLs above to be able to post here)
Strange fact: I get the same error when running
./discourse-doctor on my well running VPS as well, so I don’t know if the error is relevant.
As you see, I am using mailbox.org as email provider which works very well and is a great choice in terms of privacy and a robust email infrastructure setup. I have checked host and port and am usng this in Thunderbird an also in the other discourse install for years.
Any ideas? The only difference I see between both VPS is that the working one runs ubuntu 18.08 while the issue is on the VPS running ubuntu 20.04.