The iRedMail alternative
built to be operated.
iRedMail lays a mail stack straight onto the host and leaves you editing files in/etc and restarting services by hand. Vectis Mail runs the same Postfix/Dovecot core, but adds a REST API, declarative YAML config, and atomic, health-gated updates that roll themselves back if a change fails. Same self-hosted control — a modern operational surface on top.
At a glance
Side-by-side, current as of July 2026.
| Vectis Mail | iRedMail | |
|---|---|---|
| Mail stack | Postfix · Dovecot · Rspamd | Postfix · Dovecot · SpamAssassin |
| Deployment model | Docker Compose | OS-native (installer script, no containers) |
| Supported OS | Linux (Ubuntu, Debian, RHEL family) | Linux + FreeBSD + OpenBSD |
| Configuration model | Declarative YAML + vectis apply | Files in /etc + service restarts |
| REST API | 40+ endpoints (sending, webhooks, domains, mailboxes, analytics) | None (SMTP submission only) |
| Transactional sending API | Yes — domain-scoped keys, batch, attachments | No — SMTP submission with mailbox creds |
| Inbound webhooks | Yes — HMAC-signed, retry-with-backoff | No |
| Antispam (default) | Rspamd (modern heuristics, Lua rules) | SpamAssassin |
| Update model | Atomic 6-phase orchestrator with auto-rollback | Documented manual upgrade procedure |
| Backend storage | PostgreSQL only | OpenLDAP, MySQL, MariaDB, or PostgreSQL |
| Admin UI | React SPA (modern) | iRedAdmin (basic) · iRedAdmin-Pro (paid upgrade) |
| Webmail | Roundcube | Roundcube · SOGo (optional) |
| Calendar / contacts (CalDAV/CardDAV) | Not yet (Phase 4 roadmap) | Yes (SOGo) |
| Per-domain analytics | Yes (Pro) | No |
| Observability built in | Prometheus-format metrics + alerts; Grafana/Loki optional | Logs only — bring your own stack |
| License (core) | Business Source License 1.1 (auto-Apache 2.0 after 4y); commercial Pro license | Mixed (upstream component licenses preserved) |
| Pricing | $0 Starter · $39 USD/tenant/month Pro (unlimited installs) | $0 OSS · iRedAdmin-Pro + Enterprise editions priced on request |
Why teams move to Vectis Mail
Where the OS-native, edit-the-files model starts to hold teams back.
- You want a real REST API + inbound webhooks, not just SMTP submission.
- You run a SaaS and need domain-scoped API keys with per-domain rate limits.
- You want fewer moving parts in the host OS — a version-pinned stack instead of packages sprawled across
/etc. - You value orchestrated updates with automatic rollback over a documented manual procedure.
- You want Rspamd’s modern heuristics out of the box, with a Lua extension surface for custom rules.
- You want per-domain analytics, IP warmup tracking, and built-in observability.
- You’d rather declare mail in YAML and
vectis applythan hand-edit config files and restart services.
How they differ
Deployment model
iRedMail's defining choice is OS-native. The installer script lays down Postfix, Dovecot, Roundcube, Nginx, Fail2ban, SpamAssassin, and (optionally) SOGo directly onto the host: no containers, no Docker daemon. That's a deliberate feature for sysadmin teams who prohibit container runtimes, run on BSD, or want the smallest possible runtime surface.
Vectis Mail ships as a Docker Compose stack: 14 services by default (10 if you disable observability and ClamAV). Each component is isolated, restartable independently, and version-pinned in a single compose.yml. If your environment prohibits Docker, that's a hard blocker for Vectis Mail; there's no OS-native install path planned. If Docker is acceptable, the trade-off is operational ergonomics: one command rebuilds the whole stack, and the orchestrator's update pipeline depends on container-level isolation.
API surface
iRedMail is a classic OS-native mail server. SMTP submission is the only programmatic interface for sending, and inbound mail lands in mailboxes only. There's no REST API for config, no domain-scoped API keys, no inbound webhooks, no per-domain rate limiting.
Vectis Mail has 40+ endpoints covering sending (single + batch with attachments), inbound webhooks (full body parsing, HMAC-signed payloads, exponential-backoff retry), mailbox/alias/domain CRUD, analytics, audit logs, and admin operations. Domain-scoped API keys with per-domain rate limits make it usable as a real transactional service: an in-house alternative to SendGrid or Postmark that happens to also host your mailboxes.
See the API Reference for the full surface.
Configuration model
iRedMail's configuration is what you'd expect from a long-running Unix mail server: files in /etc/postfix, /etc/dovecot, /etc/nginx, and so on. Adding a domain, rotating a DKIM key, or changing rate limits typically means editing files and restarting services, or clicking through the iRedAdmin web panel. There's no config-as-code surface.
Vectis Mail uses a single config.yaml as the source of truth.vectis apply diffs the desired state against running state, regenerates affected service configs (Postfix, Dovecot, Rspamd, Traefik), and reloads only what changed. The same operations are exposed via the REST API, so Terraform, Ansible, or your own automation can manage Vectis Mail declaratively.
Antispam
iRedMail ships with SpamAssassin by default; Rspamd is the more modern engine, and iRedMail can be configured to run it, but it isn’t the out-of-the-box default. Vectis Mail ships and tunes Rspamd by default, giving you modern heuristics (Bayes, fuzzy hashing, reputation) and a Lua extension surface for custom rules without any manual wiring. Both stacks can reach strong inbox placement — deliverability ultimately comes down to your IP reputation and DNS hygiene (SPF/DKIM/DMARC), not the antispam engine alone.
Update + rollback
iRedMail updates are a documented manual procedure: package upgrades, file diffs, schema migrations applied by the operator. There's no automatic snapshot, no health-check gate, no rollback. If a migration breaks, recovery is whatever you do manually.
Vectis Mail's orchestrator runs a 6-phase pipeline:
- Snapshot — Postgres dump + Compose backup taken before any change.
- Migrate — forward-only SQL migrations applied with row-level locking.
- Pull — new container images pulled and verified.
- Deploy — services recreated with the new images.
- Health-check — Postfix, Dovecot, Rspamd, API, Traefik all probed for liveness + actual mail-handling readiness.
- Complete — change locked in, snapshot retained for the rollback window.
Any phase failure triggers automatic rollback to the snapshot. The Plan/Apply UI shows the diff before you run it. See Installationfor the full update model.
Editions + pricing
iRedMail splits across three editions: iRedMail (open source), iRedMail Enterprise Edition (one-time per-server payment), and iRedAdmin-Pro (annual subscription with advanced web admin features). Pricing for the paid tiers isn't published publicly; you contact iRedMail for a quote.
Vectis Mail keeps it simple: Starter (free forever: up to 3 domains, 25 mailboxes per domain, full API, webhooks, monitoring, backups) and Pro at $39 USD/tenant/month (unlimited domains and mailboxes, per-domain analytics, OIDC SSO, priority support). One Pro subscription covers unlimited Vectis Mail installs operated by your organisation. See pricing.
Migrating from iRedMail to Vectis Mail
Because both products use Postfix and Dovecot under the hood, the mail data migrates cleanly. The typical sequence:
- Stand up Vectis Mail on a fresh VPS following the installation guide. Configure your domain(s) but leave DNS pointed at iRedMail for now.
- Sync mailbox data with
imapsyncordoveadm backup: both stacks are vanilla Dovecot underneath, so maildir transfers directly. - Generate new DKIM keys on Vectis Mail and publish them to DNS alongside the existing iRedMail keys. Run both in parallel during the switchover.
- Export Sieve filters (per-user) from iRedMail Dovecot and import into Vectis Mail Dovecot (same file format).
- Re-create domains, mailboxes, and aliases via the Vectis Mail CLI or API. If you're scripting this, the API + domain-scoped keys make it straightforward.
- Export SOGo data (calendar / contacts) to iCal/vCard if you use it. Vectis Mail can't import these directly. This is the only non-trivial step.
- If you're on OpenLDAP, you'll need to migrate user records from OpenLDAP into Vectis Mail's PostgreSQL-backed user store. There's no automated tool for this; it's a one-off script.
- Cut DNS over: update MX to point at the Vectis Mail server. Mail starts flowing through Vectis Mail as DNS propagates.
- Verify + decommission: watch logs for a few days, then decommission iRedMail.
Realistic timeline: half a day for a small (<50 mailbox) MySQL/MariaDB-backed install, a few days of staged migration for larger installs or anything backed by OpenLDAP.
Frequently asked questions
What are the best iRedMail alternatives?
The main self-hosted alternatives to iRedMail are Vectis Mail(Postfix/Dovecot with declarative config, a 40+ endpoint REST API, inbound webhooks and flat pricing), mailcow (a mature Docker stack with a web UI and SOGo groupware), Mailu and docker-mailserver (lighter Docker stacks), Mail-in-a-Box(single-server simplicity for individuals), and the from-scratch MTAsStalwart and Mox. If you want iRedMail's self-hosted control plus a programmatic API and mailbox hosting on one platform, Vectis Mail is the closest modern fit — see thebest self-hosted email servers guidefor the full side-by-side.
Is Vectis Mail a drop-in replacement for iRedMail?
For the mail data, yes. Both products use Postfix and Dovecot under the hood, so mailbox migration via imapsync is straightforward. The bigger shift is operational: iRedMail installs OS-native (no Docker); Vectis Mail ships as a Docker Compose stack. If your team prohibits Docker, that's a hard blocker, not a small one.
Does iRedMail have a sending API or inbound webhooks?
No. iRedMail is a classic mail server. SMTP submission with mailbox credentials is the only programmatic surface, and inbound mail lands in mailboxes only. There's no REST API for sending, no inbound webhooks, no domain-scoped API keys. Vectis Mail ships 40+ REST endpoints covering sending, inbound webhooks, mailboxes, domains, analytics, and admin operations.
Does Vectis Mail run on BSD?
No — Vectis Mail runs on Linux only (Ubuntu, Debian, RHEL family), because it ships as a Docker Compose stack. One honest scope note: if your deployment target is FreeBSD or OpenBSD, Vectis Mail isn’t the fit, and there’s no BSD install path planned. On Linux you get the full platform — the REST API, declarative YAML config, and atomic health-gated updates with rollback.
What does Vectis Mail cost, and how is licensing structured?
Vectis Mail’s pricing is public on the pricing page: Starter is free forever (up to 3 domains, 25 mailboxes per domain, full API, webhooks, monitoring and backups), and Pro is $39 USD per tenant per month for unlimited domains and mailboxes, per-domain analytics, OIDC SSO and priority support. One Pro subscription covers every install your organisation runs, and advanced admin features are in the product rather than behind a separate paid edition or per-server upgrade.
Try Vectis Mail
Production mail server in minutes. Modern surface, real API, same self-hosted control.
Other Vectis Mail alternatives
Coming from a different stack? Read the comparison that matches it.
vs Mailcow →
Same self-hosted stack, declarative YAML config, REST API, atomic updates with rollback.
vs Mail-in-a-Box →
One-command personal email sovereignty vs API-first multi-domain infrastructure. When each is the right fit.
vs SendGrid →
Same API surface, no per-email pricing. Flat $0–$39/mo covers unlimited sending volume.
vs Postmark →
Flat $0–$39/mo self-host vs the developer-loved transactional SaaS. Same API, mailboxes included.