I currently use Mailgun as the outbound SMTP provider for my self-hosted Discourse installation, which runs on an externally hosted Ubuntu VPS.
Recently, I have been experiencing recurring SMTP errors, including:
421 Domain is not allowed to send: recipient limit (26) exceeded
421 Domain is not allowed to send: daily request limit (100) exceeded
535 Authentication failed
Mailgun has also sent notifications confirming that my account is on probation and that my domains are limited to 100 messages per hour.
I have been exploring alternative SMTP arrangements, including Azure Communication Services Email. However, Microsoft has announced that its standalone Email service will be retired on 30 September 2028.
Another possibility I have come across is Apache James:
Has anyone here had experience using Apache James as an SMTP server for a self-hosted Discourse installation?
I would be particularly interested in:
- SMTP compatibility with Discourse.
- Reliability and message queue management.
- Maintenance requirements compared with managed SMTP providers.
- Email deliverability and sender reputation.
- How Discourse handles temporary SMTP failures and subsequent retries.
I already use the standard Discourse mail-receiver container for incoming email, so my main interest is outbound transactional email.
Many thanks.