Migrate from hMailServer to SmarterMail
hMailServer stores mail and serves it over IMAP, so SmarterMail's Mailbox Migration tool can copy each mailbox, folders included. After the move, users gain webmail, calendars, contacts, chat and meetings, and SmarterMail can keep relaying mail for your scanners and applications.
What moves from hMailServer
| Data | How it moves to SmarterMail |
|---|---|
| Mail and folders | Mailbox Migration over IMAP |
| Distribution lists and aliases | Recreate as SmarterMail mailing lists and aliases |
| Relay for scanners, printers and apps | Allow their IP addresses to relay in SmarterMail, or give them an authenticated account |
| Active Directory accounts | Use Active Directory or LDAP integration (Enterprise) |
| Calendars and contacts | hMailServer 5.x doesn't store them; users start fresh or import .ics and .vcf files from their mail client |
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 on the old server).
- List distribution lists, aliases, forwarding and any IP ranges that relay through hMailServer.
- Check mailbox counts against your license: SmarterMail Free covers one domain and up to 10 mailboxes.
- If you're reusing the same Windows server, plan a maintenance window; otherwise install SmarterMail on a new server or on Linux or Docker.
How to migrate from hMailServer 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.
- 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 hMailServer address, choose IMAP, and enter the mailbox's credentials. 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.
- Move relaying devices and apps. Allow the IP addresses of scanners, printers and applications to relay through SmarterMail, or give them SMTP credentials, and update their SMTP server setting.
- 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. hMailServer
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
Is there a free way to move from hMailServer?
Yes. SmarterMail Free covers one domain and up to 10 mailboxes, and Mailbox Migration is included. Larger setups need a Professional or Enterprise perpetual license.
Can SmarterMail relay mail for our scanners and applications?
Yes. Allow their IP addresses to relay, or give them an authenticated SMTP account. This also replaces the SMTP Server feature removed from Windows Server 2025.
Do I need users' passwords to migrate?
Mailbox Migration signs in to each hMailServer mailbox. Users can run it with their own passwords, or an administrator can run it using credentials you set up for the migration.
Will users get calendars after the move?
Yes. SmarterMail includes calendars, contacts, tasks and notes in webmail and syncs them over CalDAV and CardDAV, or over MAPI, EWS and Exchange ActiveSync with the Enterprise add-ons.
From mail server to collaboration server
Install SmarterMail and run a test migration of one mailbox before you plan the cutover.