Expose SMTP_DOMAIN Global Setting in sample file (#515)
authorRafael dos Santos Silva <xfalcox@gmail.com>
Thu, 21 Jan 2021 15:05:26 +0000 (12:05 -0300)
committerGitHub <noreply@github.com>
Thu, 21 Jan 2021 15:05:26 +0000 (12:05 -0300)
This is useful when using some SMTP providers, like Google Apps

https://meta.discourse.org/t/discourse-smtp-sends-ehlo-localhost-instead-of-domain-breaking-google-smtp-relay/176755/6?u=falco

samples/standalone.yml

index 9da89d856acd2e2f16b628ca111d401a1c977613..f830dda0603a0c04261ceb4e783dad1025d67e19 100644 (file)
@@ -64,6 +64,7 @@ env:
   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)
 
   ## If you added the Lets Encrypt template, uncomment below to get a free SSL certificate
   #LETSENCRYPT_ACCOUNT_EMAIL: me@example.com