Configurar SMTP

Fala, pessoal, tudo bem?

Vocês sabem que já fiz toda a instalação, mas não configurei o SMTP. Agora vou configurá-lo e tenho esta configuração do app.yml. Quero saber se está correta.

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"

Fiz alguns testes e apareceu “ERROR - execution expired”.

Alguém pode me ajudar?

  1. Por favor, oculte sua senha SMTP
  2. Você tem um firewall de rede ou algo bloqueando as requisições?