# Configure SMTP

**URL:** https://meta.discourse.org/t/configurar-smtp/409418
**Category:** Self-hosting
**Tags:** email
**Created:** [August 6, 2026, 5:35am UTC](https://meta.discourse.org/t/configurar-smtp/409418 "2026-08-06T05:35:45Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Picho\_Pelis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/picho_pelis/32/499976_2.png) [@Picho\_Pelis](https://meta.discourse.org/u/Picho_Pelis)
#### Post date: [August 6, 2026, 5:35am UTC](https://meta.discourse.org/t/configurar-smtp/409418/1 "2026-08-06T05:35:45Z")

</div>

Hi everyone.

You know that I already completed the installation, but I didn’t configure SMTP, so now I’m going to set it up. I have this app.yml config and I want to know if it’s correct.

```plaintext
templates:

  - templates/postgres.template.yml

  - templates/redis.template.yml

  - templates/web.template.yml

  - templates/web.ratelimited.template.yml

  - templates/web.ssl.template.yml

  - templates/web.letsencrypt.ssl.template.yml

expose:

  - 80:80

  - 443:443

params:

  db_default_text_search_config: pg_catalog.english

  db_shared_buffers: 1024MB

env:

  LC_ALL: en_US.UTF-8

  LANG: en_US.UTF-8

  LANGUAGE: en_US.UTF-8

  DISCOURSE_HOSTNAME: debatehosting.co

  DISCOURSE_DEVELOPER_EMAILS: [redacted]

  #DISCOURSE_SKIP_EMAIL_SETUP: '1'

  UNICORN_WORKERS: 4

  DISCOURSE_SMTP_ADDRESS: smtp.maileroo.com

  DISCOURSE_SMTP_PORT: 587

  DISCOURSE_SMTP_USER_NAME: [redacted]

  DISCOURSE_SMTP_PASSWORD: "[redacted]"

  DISCOURSE_SMTP_AUTHENTICATION: login

  DISCOURSE_SMTP_ENABLE_START_TLS: true

volumes:

  - volume:

      host: "/var/discourse/shared/standalone"

      guest: "/shared"

  - volume:

      host: "/var/discourse/shared/standalone/log/var-log"

      guest: "/var/log"

hooks:

  after_code:

    - exec:

        cd: "$home/plugins"

        cmd:

          - git clone 

run:

  - exec: echo "Beginning of custom commands"

  - exec: echo "End of custom commands"

```

I ran some tests and got “ **ERROR** - execution expired”.

Can anyone help me?

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/4/0/840e255604ed174abd6a29a50fdf0e51f474d376.png)

---

_[View the full topic](https://meta.discourse.org/t/configurar-smtp/409418)._
