Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Mailcow vs Stalwart vs Mailu at 10,000 Mailboxes: What Holds Up in Production

说明与用途

Stalwart 被选为迁移 10,000 个大学邮箱的解决方案,因其支持 JMAP、外部 PostgreSQL 与 MinIO 存储以及集群功能。v0.16 版本更改了配置模型,需要使用数据存储 JSON 文件和数据库来管理设置。

问题

Migrating a university email system to 10,000 mailboxes while ensuring high availability, scalability, and manageable administration.

结果

Stalwart provided a scalable, cluster‑ready mail solution that met the university’s 10,000‑mailbox requirement, with external PostgreSQL and MinIO storage, JMAP support, and manageable administration via web UI and API.

工作流

  • 1. Evaluate each candidate based on documentation and production experience.
  • 2. Choose Stalwart for its Rust binary, JMAP support, and clustering model.
  • 3. Configure PostgreSQL for metadata and MinIO for message blobs.
  • 4. Replace the old config.toml with a datastore JSON file and use the web admin/API for settings.
  • 5. Set up NATS for inter‑node coordination and HAProxy as a front‑end.
  • 6. Create a shared PostgreSQL replica and MinIO distributed mode for redundancy.
  • 7. Import accounts from LDAP/AD and migrate mail with imapsync, calendars and contacts with a custom script.
  • 8. Apply per‑user send‑rate limits via webmail layer and reverse proxy.
  • 9. Test failover by shutting down a node and verifying continuity.
  • 10. Monitor performance and adjust resources as needed.

证据

We run Stalwart for a university with 10,000 mailboxes

来源

Stalwart is a single binary written in Rust that speaks every mail and groupware protocol itself

来源

We keep metadata and settings in PostgreSQL and message blobs in S3-compatible object storage (MinIO)

来源

Version 0.16 changed the configuration model. There's no big config.toml anymore

来源

We wanted a server‑side send rate limit per user, so a compromised account talking raw SMTP couldn't blast out mail

来源

  • 记录日期: 2026-10-08T13:40:54.029Z