I just saw this domain value on Email Settings page, I didn’t see it during installation. Where to set this domain value?
since no one is jumping in I think it is in app.yml ???
I think there is a command line way to set your mail setting as well.
ah… look here
You almost definitely don’t need it.
It sets the EHLO domain.
yes, I’ve already figured that out. Emails work properly. I was just wondering why it is set to this value by default? Doesn’t seem to be proper even if it doesn’t affect emails.
The default value is blank:
As far as I can remember, I didn’t see and/or didn’t enter any such value so installation process must be filling this from somewhere? I just re-installed and still didn’t see any option to fill this field.
It’s probably set in your container configuration file, the default contents in the template are:
DISCOURSE_SMTP_ADDRESS: smtp.example.com
#DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: user@example.com
DISCOURSE_SMTP_PASSWORD: pa$$word
#DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
#DISCOURSE_SMTP_DOMAIN: discourse.example.com # (required by some providers)
#DISCOURSE_NOTIFICATION_EMAIL: noreply@discourse.example.com # (address to send notifications from)
Finally we found it Yay!
So how do we change it?
Edit the file and change it.
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