Migrate from Stalwart to SmarterMail
Stalwart serves mail over IMAP, so SmarterMail's Mailbox Migration tool can copy each mailbox, folders included. Calendars and contacts that Stalwart keeps over CalDAV and CardDAV move as standard .ics and .vcf files.
What moves from Stalwart
| Data | How it moves to SmarterMail |
|---|---|
| Mail and folders | Mailbox Migration over IMAP |
| Calendars (CalDAV) | Export as .ics files and import into SmarterMail |
| Contacts (CardDAV) | Export as .vcf files and import into SmarterMail |
| Files (WebDAV) | Download and upload to SmarterMail file storage |
| Domains, aliases and mailing lists | Recreate in SmarterMail |
| LDAP accounts | Use LDAP integration (Enterprise) |
| Sieve filters | Recreate as SmarterMail content filters and rules |
| DKIM keys | Generate new keys in SmarterMail and publish them in DNS |
Before you start
- Mailbox Migration signs in to each old mailbox with that mailbox's credentials. Decide whether users will run it themselves or an administrator will run it for them, and how the administrator will sign in (for example, with temporary passwords or app passwords on the old server).
- List domains, aliases, mailing lists and forwarding from the Stalwart web admin or stalwart-cli.
- If Stalwart manages your DNS records automatically, plan to turn that off before cutover so it doesn't change your MX or DKIM records back.
- Copy your DKIM, SPF and DMARC records so you can update them for the new server.
- Plan Outlook: native MAPI / EWS need the MAPI / EWS add-on on SmarterMail Enterprise.
How to migrate from Stalwart to SmarterMail
- Install SmarterMail. Install SmarterMail on Windows Server, Linux or Docker. Every new perpetual license includes free expert installation and configuration.
- Create domains and users. Add each domain, user, alias and mailing list in SmarterMail, or connect Active Directory or LDAP (Enterprise). Administrators can script this with the SmarterMail API.
- Lower DNS TTLs. A day or more before cutover, lower the TTL on your MX, Autodiscover and mail host records to about 5 minutes so the switch takes effect quickly. If Stalwart manages your DNS records automatically, turn that off first so it doesn't change them back.
- Test with one mailbox. Migrate a test mailbox and check mail, folders, calendars and contacts in webmail, Outlook and a phone before you schedule the cutover.
- Run Mailbox Migration. In SmarterMail webmail, open Settings > Connectivity, find the Mailbox Migration card and click Migrate. Enter the Stalwart server address, choose IMAP, and enter the mailbox's credentials. Then export calendars as .ics files and contacts as .vcf files from a CalDAV and CardDAV client connected to Stalwart, and import them into SmarterMail. Migration runs in the background, and items appear as they finish copying.
- Switch mail flow. When migration is complete, point your MX records to SmarterMail, update SPF and DKIM, and add Autodiscover records so Outlook and phones find the new server. New mail now arrives in SmarterMail.
- Reconnect clients. Point IMAP clients at SmarterMail, or create Outlook profiles that connect over MAPI with Autodiscover. Phones can use Exchange ActiveSync or CalDAV and CardDAV.
- Retire the old server. Keep the old server running until DNS has fully switched, and check it for any mail that arrived after migration finished. Then raise your TTLs again and decommission it.
Plan the rest of the move
Cutover checklist
DNS, TTLs, Autodiscover and the order of operations for switching mail flow.
Cutover checklistSmarterMail vs. Stalwart
What changes for users and administrators after the move.
Read the comparisonHelp getting started
Every new perpetual license includes free expert installation and configuration, a $349 value.
See pricingFrequently asked questions
Can I keep running on Linux or Docker?
Yes. SmarterMail runs on Debian, Ubuntu and RHEL-compatible Linux, Windows Server and Docker.
Do calendars and contacts migrate from Stalwart?
Mail migrates over IMAP. Stalwart stores calendars and contacts over CalDAV and CardDAV, so export them as .ics and .vcf files from a client such as Thunderbird or Apple Calendar and Contacts, then import them into SmarterMail.
What happens to JMAP clients?
SmarterMail doesn't use JMAP. Users switch to SmarterMail webmail, Outlook over MAPI or EWS, or any IMAP, CalDAV and CardDAV client, including phones over Exchange ActiveSync.
Do Sieve filters carry over?
No. Recreate them as SmarterMail content filters and rules, which users can manage in webmail and administrators can set per domain.
Do I need a separate webmail client?
No. SmarterMail includes webmail with calendars, contacts, tasks, notes, file storage, team chat and online meetings.
Mail, Outlook and webmail in one server
Install SmarterMail and run a test migration of one mailbox before you plan the cutover.