Has anyone used Apache James as an SMTP server for self-hosted Discourse?

The challenge with self-hosting outbound email isn’t so much running an SMTP server as establishing and maintaining a reputation.

You cannot simply spin up a mail server on a VPS and expect other mail servers to trust it. Even with correctly configured SPF, DKIM, DMARC and reverse DNS, an IP address with no established sending reputation may find its emails rejected, throttled or consigned to spam.

A significant part of what you’re paying a managed SMTP provider for is reputation management, not the SMTP infrastructure itself.

I’d be inclined to change providers rather than inherit that administrative burden.