Title: Activation email sent but account not activated / activation link confusion
Hi,
I’m running a self-hosted Discourse (Docker). SMTP test emails are sending successfully (verified via Gmail), but newly registered users do not receive or cannot complete account activation properly.
What I’ve checked / done:
SMTP configured and test email delivered successfully
login_required = false
must_approve_users = false
Manual activation via Admin → Users works
Restarted with ./launcher restart app (multiple times)
Issue:
After registration, users land on /u/account-created
Activation email is inconsistent or activation link behavior is unclear
Unsure where to control activation link / redirect behavior
Questions:
Where exactly does Discourse handle the activation link and redirect after clicking it?
Is there a recommended way to test activation flow without restarting the container?
Any common causes when SMTP test works but user activation emails fail or don’t complete activation?
You can activate the initial account via rails too, alternatively you can choose to set up discourse with the new installer and opt for discourse id. That makes email optional unless you need it for email notifications.
It is as simple as a mail server is going to get and runs on the same server as discourse. It doesn’t use a database, keeping the emails in a flat file so not super high volume set up but it works.