Import Maildir to Exchange: Migrate to Exchange Server or Online

Convert Maildir to Exchange Server
Summary

Importing Maildir to Exchange Server, Exchange Online or Hosted Exchange requires a converter that reads the Maildir folder format and writes directly to Exchange via EWS or MAPI. The Turgs Maildir Converter handles all three Exchange targets with folder structure preserved and a free trial available.

Maildir stores each email as a separate file in a directory tree. Exchange uses a completely different storage architecture.

There is no direct path from Maildir to Exchange built into either platform. You need a tool that understands both formats and can bridge them. This guide covers how to import Maildir to Exchange, whether your target is on-premises Exchange Server, Exchange Online (Microsoft 365) or Hosted Exchange.

What Is Maildir?

Maildir is an email storage format used by Linux-based mail servers including Postfix, Dovecot, Qmail and Courier. Unlike MBOX which stores all emails in a single file, Maildir stores each email as a separate file inside a directory structure like this:

  • /cur: messages that have been seen
  • /new: messages not yet read
  • /tmp: temporary files during delivery

Each folder in the mail account (Inbox, Sent, custom folders) appears as a subdirectory with the same three-subfolder structure. This makes Maildir reliable but requires a conversion step to import into Exchange.

Watch the Tutorial First

[youtube https://www.youtube.com/watch?v=uRWJYj59oe8]

How to Import Maildir to Exchange

Download and install the Turgs Maildir Converter on your Windows PC. The free trial migrates 25 emails per folder so you can verify the Exchange import before purchasing.

Step-by-Step: Maildir to Exchange Migration

Step 1. Launch the Turgs Maildir Converter. Click Add Files or Add Folder to load your Maildir directory. The tool detects the Maildir structure automatically.

Load Maildir folder in the converter

Step 2. From the saving options, choose your Exchange target.

For Exchange Server (on-premises):

Select Exchange Server as migration target

For Hosted Exchange:

Select Hosted Exchange as migration target

Step 3. Enter your Exchange Server address, admin username and password. For Exchange Online, use your Microsoft 365 tenant credentials.

Enter Exchange Server connection details

Step 4. Click Start or Import. The tool connects to Exchange and begins migrating your Maildir emails. A live progress bar shows the transfer status.

Maildir to Exchange migration in progress

Step 5. When complete, log into Outlook or OWA (Outlook Web App) and check the target mailbox to confirm your folders and emails arrived correctly.

Emails successfully imported to Exchange

Exchange Server vs. Exchange Online vs. Hosted Exchange

Target Description Credentials needed
Exchange Server (on-premises) Your own Exchange server in your network Exchange admin account + server address
Exchange Online (Microsoft 365) Microsoft’s cloud Exchange service Microsoft 365 admin credentials or app password
Hosted Exchange Exchange managed by a third-party provider Provider admin credentials + EWS URL

All three targets use the same Turgs Maildir Converter. You just select the appropriate destination type in Step 2 and enter the correct credentials.

What Gets Preserved in the Migration?

  • Folder structure. Each Maildir folder maps to an Exchange mailbox folder with the same name.
  • Email metadata. Sender, recipients, date, subject and all headers are preserved.
  • Attachments. All email attachments transfer intact.
  • Read/unread status. Emails in the /cur folder (read) and /new folder (unread) map to their correct read status in Exchange.

If you need to handle other migration paths, the guide on Axigen webmail to Gmail covers a similar IMAP-based migration process. And for PST-based Exchange imports, see the PST to Exchange migration guide.

Are you migrating from a Dovecot, Postfix or Qmail server, or another Maildir-based system?

Frequently Asked Questions

Can I import Maildir to Exchange Online (Microsoft 365)?

Yes. The Turgs Maildir Converter supports Exchange Online as a destination. Enter your Microsoft 365 admin credentials in the connection step and the tool imports directly to the cloud mailbox.

Do I need Outlook installed to import Maildir to Exchange?

No. The tool communicates with Exchange via EWS (Exchange Web Services) directly. You only need Windows and network access to your Exchange server or Exchange Online tenant.

How long does a Maildir to Exchange migration take?

Migration speed depends on the number of emails and your network connection. A 10,000-email Maildir account typically migrates in 30 to 90 minutes. The tool shows real-time progress.

What Maildir versions does the converter support?

The converter supports standard Maildir format as produced by Dovecot, Postfix, Qmail, Courier Mail Server and any other server that follows the Maildir specification.

Can I migrate multiple Maildir accounts in one run?

Yes. Load multiple Maildir directories in the tool and map each one to a different Exchange mailbox. The tool processes them sequentially.

Will the migration create duplicate emails if I run it twice?

Exchange Online checks for duplicate messages via IMAP during import in some configurations. For on-premises Exchange Server, running the migration twice may create duplicates. Run a test migration with the free trial first and verify the results before running the full migration.