Configure SMTP

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.

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?

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

Try port 2525. Port 587 is likely blocked.