Self-Hosted Alternatives to Outlook
Why Replace Outlook?
Want email, calendar, and contacts without Microsoft reading your data and charging per seat? Outlook and Microsoft 365 bundle these together at $6-22/user/month — and Microsoft scans email content for advertising in the free tier and compliance features in paid tiers.
The cost at scale: Microsoft 365 Business Basic costs $6/user/month. A 10-person team pays $720/year. A self-hosted mail server on a $5-10/month VPS handles unlimited users for a fixed cost.
| Plan | Price | What You Get |
|---|---|---|
| Outlook.com (free) | $0 | 15 GB storage, ads, data scanning |
| Microsoft 365 Personal | $7/month | 50 GB mailbox, Office apps, 1 user |
| Microsoft 365 Business Basic | $6/user/month | 50 GB mailbox, web apps, Teams |
| Microsoft 365 Business Standard | $12.50/user/month | Desktop apps, 50 GB mailbox |
| Microsoft 365 Business Premium | $22/user/month | Advanced security, 50 GB mailbox |
The privacy argument: Microsoft’s privacy statement allows them to process your email content for service improvement, safety, and advertising (in free tiers). With a self-hosted mail server, your messages stay on your hardware.
The vendor lock-in argument: Microsoft bundles email with Teams, OneDrive, and Office apps. Once your organization depends on the ecosystem, switching costs grow exponentially. Self-hosted email decouples your communication from any single vendor.
Best Alternatives
Mailcow — Best Full Outlook Replacement
Mailcow is the closest self-hosted equivalent to Outlook/Exchange. It bundles:
- Email (Postfix + Dovecot) with push notifications
- Calendar (SOGo groupware with CalDAV)
- Contacts (SOGo with CardDAV)
- Web UI (SOGo webmail — similar to Outlook Web Access)
- Admin panel (domain management, quotas, aliases)
- ActiveSync (via SOGo — native Outlook and mobile sync)
Mailcow replaces the full Outlook stack: email, calendar, contacts, and even Outlook desktop sync via ActiveSync. The trade-off is complexity — it runs 15+ containers and needs at least 4 GB RAM.
Mailu — Best Lightweight Alternative
Mailu provides email with a simpler footprint. It runs fewer containers than Mailcow and uses less RAM (~1-2 GB). Mailu handles SMTP, IMAP, webmail (Roundcube), antispam (Rspamd), and antivirus (ClamAV).
What Mailu lacks vs Outlook: No built-in calendar or contacts. You’d pair it with Radicale or Baikal for CalDAV/CardDAV.
Best for: users who only need email and want a simpler setup.
Stalwart — Best Modern Architecture
Stalwart is a newer, Rust-based mail server that handles SMTP, IMAP, and JMAP in a single binary. Low resource usage (~100-200 MB RAM), modern protocol support, and active development.
What Stalwart lacks vs Outlook: No groupware (calendar, contacts, webmail). Stalwart is a mail transport/storage engine, not a complete Outlook replacement. Pair it with a webmail client like Roundcube and CalDAV/CardDAV server.
Best for: users who want the lightest possible mail server and will add components separately.
Read our full Stalwart guide →
Component Approach: Build Your Own Outlook
Instead of one monolithic replacement, assemble the stack:
| Outlook Feature | Self-Hosted Replacement | Protocol |
|---|---|---|
| Mailcow, Mailu, or Stalwart | SMTP/IMAP | |
| Calendar | Radicale or Baikal | CalDAV |
| Contacts | Radicale or Baikal | CardDAV |
| Webmail | Roundcube or SOGo | Web UI |
| File sharing | Nextcloud | WebDAV |
| Video calls | Jitsi Meet | WebRTC |
This gives you full control over each component but requires more setup and maintenance.
Migration Guide
Step 1: Export from Outlook
Outlook desktop:
- File → Open & Export → Import/Export
- Choose “Export to a file” → Outlook Data File (.pst)
- Select your mailbox → Include subfolders
- Save the .pst file
Outlook.com / Microsoft 365:
- Go to outlook.live.com/mail/0/options/general/privacy
- Request an export of your mailbox data
- Download the .pst file when ready (takes up to 48 hours)
Calendar export:
- Open calendar → Share → Get a link → Download .ics file
- Or export via Outlook desktop: File → Open & Export → Import .ics
Contacts export:
- Go to outlook.live.com/people
- Manage → Export contacts → Download CSV/VCF
Step 2: Import to Self-Hosted Server
Email (PST to IMAP):
# Use imapsync to migrate from Outlook IMAP to your new server
imapsync \
--host1 outlook.office365.com --user1 [email protected] --password1 "your-app-password" --ssl1 \
--host2 mail.yourdomain.com --user2 [email protected] --password2 "new-password" --ssl2
Note: Microsoft may require an app password (not your main password) for IMAP access. Generate one at account.microsoft.com/security.
Calendar (.ics):
- Import the .ics file into SOGo (Mailcow) or your CalDAV server
- Most calendar clients support direct .ics import
Contacts (.vcf/.csv):
- Import VCF files into SOGo (Mailcow) or your CardDAV server
- CSV contacts need conversion to VCF first (SOGo handles this)
Step 3: Update DNS Records
Point your domain’s MX records to your new mail server. Keep Outlook active during the transition — run both in parallel for 1-2 weeks.
yourdomain.com. MX 10 mail.yourdomain.com.
Add SPF, DKIM, and DMARC records as configured by your mail server (Mailcow and Mailu generate these for you in the admin panel).
Step 4: Update Clients
Configure email clients to connect to your new server:
| Client | IMAP Server | SMTP Server | Port (IMAP) | Port (SMTP) |
|---|---|---|---|---|
| Thunderbird | mail.yourdomain.com | mail.yourdomain.com | 993 (SSL) | 587 (STARTTLS) |
| Apple Mail | mail.yourdomain.com | mail.yourdomain.com | 993 (SSL) | 587 (STARTTLS) |
| Outlook desktop | mail.yourdomain.com | mail.yourdomain.com | 993 (SSL) | 587 (STARTTLS) |
| Mobile (iOS/Android) | mail.yourdomain.com | mail.yourdomain.com | 993 (SSL) | 587 (STARTTLS) |
Yes — you can use the Outlook desktop app with a self-hosted IMAP server. You just won’t have Exchange-specific features like shared mailboxes and delegate access.
Cost Comparison
| Outlook (Microsoft 365 Business Basic) | Self-Hosted (Mailcow on VPS) | |
|---|---|---|
| 1 user, monthly | $6/month | $5-10/month (VPS) |
| 1 user, annual | $72/year | $60-120/year |
| 10 users, monthly | $60/month | $5-10/month (same VPS) |
| 10 users, annual | $720/year | $60-120/year |
| 50 users, annual | $3,600/year | $120-240/year (bigger VPS) |
| Storage per user | 50 GB | Unlimited (your disk) |
| Calendar/contacts | Included | Included (Mailcow SOGo) |
| Uptime guarantee | 99.9% SLA | Your responsibility |
| Setup time | 5 minutes | 2-4 hours |
Self-hosting email saves serious money at scale. The break-even point for a single user is marginal, but with 10+ users, the savings are substantial.
What You Give Up
Be honest about the trade-offs:
- Deliverability management. Microsoft’s IP addresses have established reputation. Your VPS IP starts with zero reputation. Expect some emails to land in spam initially. Building reputation takes weeks to months.
- Exchange features. Shared mailboxes, delegate access, and Exchange-specific Outlook integrations don’t exist in standard IMAP. Mailcow’s SOGo offers some of these via ActiveSync, but it’s not 1:1 with Exchange.
- Mobile push notifications. Outlook push works instantly. Self-hosted IMAP requires IDLE connections or ActiveSync (Mailcow only) for near-instant delivery.
- Anti-spam infrastructure. Microsoft invests billions in spam filtering. Self-hosted solutions use Rspamd or SpamAssassin — effective but not at Microsoft’s scale.
- Zero maintenance. Outlook requires zero server maintenance. Self-hosted email needs OS updates, certificate renewals, disk monitoring, and occasional debugging.
- Teams integration. If your organization uses Teams, removing Outlook breaks that integration.
FAQ
Can I still use the Outlook desktop app?
Yes. Outlook supports IMAP/SMTP connections. You lose Exchange-specific features (shared calendars via Exchange, delegate access), but email sending and receiving works normally.
Is self-hosted email reliable enough for business use?
With proper setup (redundant DNS, monitoring, automated backups), yes. Many businesses run self-hosted email. The key is having a backup MX and monitoring deliverability.
What about spam filtering?
Mailcow includes Rspamd (ML-based spam filter) and optional ClamAV (antivirus). Mailu also includes Rspamd. Both are effective for typical spam volumes.
Can I keep my @outlook.com address?
No. Self-hosting means using your own domain. You can set up forwarding from your old Outlook address to your new domain during the transition.
What’s the minimum VPS for a mail server?
Mailcow needs 4 GB RAM minimum. Mailu works with 2 GB. Stalwart runs on 512 MB. For a full Outlook replacement with calendar and contacts, budget 4 GB RAM.
Related
Get self-hosting tips in your inbox
Get the Docker Compose configs, hardware picks, and setup shortcuts we don't put in articles. Weekly. No spam.
Comments