Mail subdomain problem

Hello,
I have a weird problem, I have done the commands and modifications, but I still have this error.

  ## TODO: The SMTP mail server used to validate new accounts and send notifications
  # SMTP ADDRESS, username, and password are required
  # WARNING the char '#' in SMTP password can cause problems!
  DISCOURSE_SMTP_ADDRESS: mail.spm-corp.fr
  DISCOURSE_SMTP_PORT: 465
  DISCOURSE_SMTP_USER_NAME: XXXX@spm-corp.fr
  DISCOURSE_SMTP_PASSWORD: "XXXXXXXXXXXX"
  #DISCOURSE_SMTP_ENABLE_START_TLS: true           # (optional, default true)
  DISCOURSE_SMTP_DOMAIN: spm-corp.fr

  DISCOURSE_NOTIFICATION_EMAIL: XXXX@spm-corp.fr

I edited and ran the command

rails r "SiteSetting.notification_email ......

nothing wants to work
I always have this error

  Rendered layouts/email_template.html.erb (Duration: 0.3ms | Allocations: 34)
Delivered mail 87e79779-6693-4fa2-b5f3-3647b6e19768@forums.spm-corp.fr (5043.4ms)
Job exception: Net::ReadTimeout

the Discourse link is forums.spm-corp.fr
I have no communication problem between the mail server and Discourse
I even reset the Discourse folder and that of discourse_docker

Thank you for your help

I’m sorry if this topic has already been discussed.

2 Likes

Have you modified the error message to show discourse.example.com, or is that the domain specified on your site?

2 Likes

I put discourse.example.com to camouflage the domain, but yes it is a personal domain

I edited to make it more comprehensive

I spotted that this topic had been marked as solved, but it doesn’t appear to contain a solution. Did you get everything sorted in the end @rodseb?

1 Like

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