How to set domain value in Email -> Server Settings

from link in post 2 above

If you change just SMTP settings, you can do just this to apply them without doing a full rebuild:

cd /var/discourse
./launcher destroy app
./launcher start app