I’m having trouble getting a locally hosted Discourse install to work because I can’t get the activation E-Mail for the admin account. However, this post isn’t about my particular problem but about an aspect of Discourse that needs to be improved.
I’m using an SMTP server with a shared hosting company to dispatch the messages and, as said, can’t get it to work.
I worked through the troubleshooting guide and managed to reach the point where
launcher mailtest works - but only because I could tell the hosting provider’s SMTP server to accept
*@discourse.org sender addresses, something that is not at all common in the world of shared hosting.
Also, I’m still not getting any activation E-Mails! This is likely because Discourse is using yet another sender address for its regular messages, one that I can’t debug using
launcher mailtest and that probably points to the local domain where the forum runs (which isn’t any good for the SMTP server either.)
I realize that address can be changed by calling
rails r "SiteSetting.notification_email = 'firstname.lastname@example.org'"
and I’ve done that, but I don’t know any way to check whether it actually worked, and the sending still doesn’t work.
I know my next step has to be going through the mail server logs, but my point is that this “multiple arbitrary sender addresses” business is more complicated than necessary and should be simplified.
Can we have one unified official “sender address” setting that
applies to both
launcher mailtestand the regular sending of messages
comes pre-configured / commented out in the default
app.xmlfile so people can find it?