When I re run
./discourse-setup
the SMTP email becomes postmaster@discourse.mydomain.com
even though I previously entered myuser@mydomain.com
When I re run
./discourse-setup
the SMTP email becomes postmaster@discourse.mydomain.com
even though I previously entered myuser@mydomain.com
Can you reproduce this @pfaffman?
Oh! @kgreed is correct! Apparently the āuser the default mailgun usernameā code overrides the āuse the pre-existing settingsā code. Iām guessing that few people change their mailgun username, so this is an edge case.
Now that I think about it, the code that loads the defaults happens before the āoh! Itās mailgun, I know what to doā code. Iāll have a look and see if this is easy to fix.
Did this get fixed? Anything else to do here?
Itās on my list,which has quite a few things on it now. I think that this one affects few people. Itās annoying, because you have to re-enter the value rather than have your old value used. Itās not quite a bug, because it does work.
Iāll try to submit a PR this week.
Same or related:
Here, ya go.