iRedMail alternative.
Modern surface, real API.
Vectis Mail uses the same Postfix and Dovecot stack as iRedMail. The differences: declarative YAML config, a 40+ endpoint REST API, inbound webhooks, Rspamd by default, and atomic updates with rollback. For teams who want iRedMail's self-hosted control with a modern operational surface and a programmable API.
At a glance
Side-by-side, current as of May 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 (stronger heuristics, better deliverability) | 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 · $29 USD/tenant/month Pro (unlimited installs) | $0 OSS · iRedAdmin-Pro + Enterprise editions priced on request |
| Maturity | v0.1.x — production since April 2026 | 19 years, continuous operation since 2007 |
The verdict
Choose Vectis Mail when…
- 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're comfortable with Docker and want fewer moving parts in the host OS.
- You value orchestrated updates with automatic rollback over a documented manual procedure.
- You want Rspamd's modern heuristics out of the box, not SpamAssassin.
- You want per-domain analytics, IP warmup tracking, and built-in observability.
- You'd rather configure mail in YAML than maintain OS-level packages.
Stay on iRedMail when…
- You need OS-native install (no Docker) because your environment prohibits container runtimes.
- You run FreeBSD or OpenBSD (Vectis Mail is Linux-only).
- You need OpenLDAP as your mail backend (Vectis Mail uses PostgreSQL only).
- You need SOGo groupware (calendar and contacts) and can't migrate that out separately.
- You value 19 years of continuous-operation maturity over a newer codebase.
- Your team has deep institutional knowledge of iRedMail's file layout.
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. It's a workhorse, but materially weaker on modern spam patterns than Rspamd. Vectis Mail uses Rspamd by default, which gives you better default deliverability protection, modern heuristics (Bayes, fuzzy hashing, reputation), and a Lua extension surface for custom rules. If you want Rspamd on iRedMail, you can wire it in manually, but it's not the default.
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 Installation for 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 $29 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
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 iRedMail run on BSD?
Yes. iRedMail supports FreeBSD and OpenBSD in addition to Rocky, Alma, Debian, Ubuntu, and CentOS Stream. This is one of iRedMail's clearest wins. Vectis Mail runs on Linux only (it's a Docker Compose stack), so if BSD support is non-negotiable, stay on iRedMail.
What about iRedAdmin-Pro and the Enterprise edition?
iRedMail open source ships a basic iRedAdmin web panel. Advanced features (mailing list management, throttling, per-domain limits, restricted admins) live behind iRedAdmin-Pro (annual subscription) and the Enterprise edition (one-time per-server payment). Pricing isn't published publicly. Vectis Mail's pricing is on the pricing page: Starter free forever, Pro at $29 USD per tenant per month covering unlimited installs.
Why would I stay on iRedMail?
You need OS-native install (no Docker). You run BSD. You need OpenLDAP as a backend. Your team has deep iRedMail muscle memory and the modern surface isn't worth retraining for. If none of those apply, Vectis Mail's API, declarative config, and orchestrated updates are a clear step up.
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-tenant infrastructure. When each is the right fit.
vs SendGrid →
Same API surface, no per-email pricing. Flat $0–$49/mo covers unlimited sending volume.
vs Postmark →
Flat $0–$49/mo self-host vs the developer-loved transactional SaaS. Same API, mailboxes included.