I just saw this domain value on Email Settings page, I didn’t see it during installation. Where to set this domain value?
סיכום מבוסס בינה מלאכותית
The discussion revolves around setting the domain value in Email Server Settings within Discourse. sallypf noticed the domain field on the Email Settings page and wondered where it’s set, as it wasn’t visible during installation. supermathie clarifies that the domain is not necessary and the default value is blank. Andrew_Rowe and supermathie explain that the domain is set in the container configuration file (app.yml), with a default value of discourse.example.com. sallypf confirms this and asks how to change it, to which supermathie replies by editing the file. Andrew_Rowe adds that changes to SMTP settings can be applied without a full rebuild using ./launcher destroy app and ./launcher start app.
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
כמעט בוודאות שאתה לא צריך את זה.
זה מגדיר את דומיין ה-EHLO.
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.
זה כנראה מוגדר בקובץ התצורה של הקונטיינר שלך, תוכן ברירת המחדל בתבנית הוא:
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 # (אופציונלי, ברירת מחדל היא אמת)
#DISCOURSE_SMTP_DOMAIN: discourse.example.com # (נדרש על ידי חלק מהספקים)
#DISCOURSE_NOTIFICATION_EMAIL: noreply@discourse.example.com # (כתובת לשליחת התראות ממנה)
Finally we found it Yay! ![]()
So how do we change it?
[ציטוט=“sallypf, post:8, topic:368902”]
אז איך אנחנו משנים את זה?
[/ציטוט]
ערוך את הקובץ ושנה אותו.
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
