# 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:** 6
**Page:** 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)

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [August 6, 2026, 6:31am UTC](https://meta.discourse.org/t/configurar-smtp/409418/2 "2026-08-06T06:31:35Z")

</div>

1. Please censor your SMTP password
2. Do you have a network firewall or something blocking requests?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 6, 2026, 11:37am UTC](https://meta.discourse.org/t/configurar-smtp/409418/3 "2026-08-06T11:37:14Z")

</div>

Try port 2525. Port 587 is likely blocked.

---

<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, 3:20pm UTC](https://meta.discourse.org/t/configurar-smtp/409418/4 "2026-08-06T15:20:55Z")

</div>

Chill, it’s not the password

---

<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 7, 2026, 3:23pm UTC](https://meta.discourse.org/t/configurar-smtp/409418/5 "2026-08-07T15:23:20Z")

</div>

Updated, the VPS had its ports closed.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 6, 2026, 3:23pm UTC](https://meta.discourse.org/t/configurar-smtp/409418/6 "2026-09-06T15:23:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
