Does Discourse retry bounced emails? Can the number of attempts and time interval be configured? [Taking into consideration bounce penalty score points, I understand.]
AI-generated summary
The discussion revolves around whether Discourse retries sending bounced emails and if the retry settings can be configured. Andro asks about Discourse’s retry mechanism and the ability to adjust retry attempts and intervals, noting concerns about Amazon SES’s opaque bounce handling and potential reputation risks. itsbhanusharma clarifies that Discourse itself does not retry emails, but the ESP (e.g., Mailgun) may retry unless a hard-fail is reported. codinghorror adds that bounce handling is typically managed by the mail server, and Discourse uses a bounce score system that decays over time, allowing it to retry mailing users after a period. Andro confirms bounce handling is enabled but remains cautious due to Amazon SES’s lack of transparency regarding retries and potential account suspension.
I don’t think discourse itself retries to send emails. However, the ESP (e.g. mailgun) may retry sending emails unless a hard-fail is reported by recipient email server. Such bounces can be reported to discourse through their API.
further reading:
This is generally the job of the mail server, not Discourse per se.
As @itsbhanusharma correctly noted, if you have bounce handling configured, Discourse will eventually stop mailing people whose emails consistently bounce. These individual bounce scores decay over time so Discourse will “try again” over time.
I have the Discourse bounce handling enabled, but I have to tread very carefully because with Amazon SES if you get too many bounces you can go above a health/reputation threshold and get suspended.
I will confess that the retry policy and algorithm used by Amazon SES is completely opaque to me. I am not even sure if they do it. Hence my enquiries about Discourse capability in relation to retries.