# ./discourse-setup doesn't populate DISCOURSE\_SMTP\_DOMAIN

**URL:** https://meta.discourse.org/t/discourse-setup-doesnt-populate-discourse-smtp-domain/390624
**Category:** Self-hosting
**Tags:** email
**Created:** [December 7, 2025, 12:47pm UTC](https://meta.discourse.org/t/discourse-setup-doesnt-populate-discourse-smtp-domain/390624 "2025-12-07T12:47:08Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Ethsim2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ethsim2/32/522255_2.png) [@Ethsim2](https://meta.discourse.org/u/Ethsim2)
#### Post date: [December 7, 2025, 12:47pm UTC](https://meta.discourse.org/t/discourse-setup-doesnt-populate-discourse-smtp-domain/390624/1 "2025-12-07T12:47:08Z")

</div>

Hello,

the `./discourse-setup` bash script deosn’t populate `DISCOURSE_SMTP_DOMAIN` in the PUPS configuration file.

I used `rake admin:create` inside the container, to find the following impact to GUI;

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/e/4/5e4691632e6f02a95413e0b1f07c04a38adf861b.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/d/1/d/d1d1f3f53b23dc52186b0ea464751ea1af10251e.png)

---

_[View the full topic](https://meta.discourse.org/t/discourse-setup-doesnt-populate-discourse-smtp-domain/390624)._
