We’ve been having issues with Mailing List Mode on our Discourse site. We only have about 10 people who have enabled this feature so far, but the emails are not consistently sent to them. Looking through the sent email logs we can see a number of occasions when the message only sends to some of these users, with no log anywhere I can find of the email failing. The SMTP server logs show no indication of receiving the messages either.
Now, I can’t guarantee that there aren’t any issues with our SMTP server setup, but if this was the case I would expect to see error messages consistent with the missing emails, and I haven’t really seen that. There have been a few that are clearly related to email in the logs page on our site, but they have not consistently appeared when emails weren’t sent. Here are the related error messages: discourse_email_errors.txt (9.6 KB)
We had another issue last month where almost all emails were failing. I don’t think this is directly related, because that one has been cleared up (went away when we uninstalled a plugin that was causing other issues) but I did notice that the mailing list emails did not queue up in sidekiq when they failed. Other messages did, and when email functionality was restored they were sent out, but the mailing list emails were gone forever.
So I have two questions currently:
- Why don’t maling list emails get queued up in sidekiq like other messages?
- How do I get to the root of the missing emails when there are not consistent errors when emails don’t send?
Thanks for reading, and let me know if there is anything I can do to help get these issues sorted out.