Skip to content

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

DataHow it moves to SmarterMail
Mail and foldersMailbox Migration over IMAP
Distribution lists and aliasesRecreate as SmarterMail mailing lists and aliases
Relay for scanners, printers and appsAllow their IP addresses to relay in SmarterMail, or give them an authenticated account
Active Directory accountsUse Active Directory or LDAP integration (Enterprise)
Calendars and contactshMailServer 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

  1. Install SmarterMail. Install SmarterMail on Windows Server, Linux or Docker. Every new perpetual license includes free expert installation and configuration.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.

Frequently 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.