Indico does not send emails (stuck in Celery)

Hello dear members of the Indico community.
I am writing to inform you of a malfunction I am experiencing in my Indico deployment, particularly with regard to sending emails. Indico is able to send the email to Celery, but apparently Celery is unable to send the emails correctly and simply keeps trying to send them without success. I need help if possible, thank you.

So what’s in the log file related to the failure?

PS: You replied to an 8-year-old thread. Please open a new topic next time. I’m splitting your post and my answer to a new topic now.

Okay. Message received.

I will send you the screenshot related to the failure.

You need to check indico.log, not celery.log

Further things to check:

  • is indico configured to use a local sendmail/postfix etc or some upstream service
  • if upstream service, is authentication required and/or succesful ( gmail and ms may have dropped pw auth support by now )

Okay, these are the logs I was able to get.

That’s not indico.log.

The file you’re looking for is /opt/indico/log/indico.log

The error pretty much explains it. You’re using anptic-bm-core.gov.bf for the SMTP_HOST in you config, but it has a certificate for some other hostname. You need to find out the correct hostname for your mail server, and then use that.

Okay, understood. I’ll look into it and see.

Indico is configured with an external mail server. Authentication is required, and I have been given access. I have specified this in my indico.conf file.

This is not about authentication but a wrong hostname not matching the mail server’s TLS certificate.

Hello. I followed your instructions and finally found an alternative for sending emails, and it is currently working. Thank you very much for your valuable help.