34.1 C
Sunday, June 23, 2024

How to Export Mailboxes into CSV file in Mdaemon Mail Server and Import into Exchange 2013

For those who don’t know about Mdaemon Mail Server

“MDaemon, developed by Alt-N Technologies, is a multi-language SMTP/POP3 Windows-based mail server software with web mail, remote administration, secure Instant Messenger (IM), and Anti-spam techniques security. MDaemon mail server software provides groupware features via integration with Microsoft Outlook (using Outlook Connector for MDaemon) “

Let us see how to export Mdaemon mailboxes in to CSV file.

Step 1:

Login to Mdaemon Mail Server

Start – Run – MDaemon – Start Mdaemon



Step 2:

Accounts – Exporting – Export accounts to a comma delimited file..


Step 3:

Open the CSV file in Excel , Remove all the Columns , Except Below ,



Add a Column with First Name,Last Name , Display Name


Now you Excel Sheet Would Look like this.

Step 4:

Created a OU(Organizational Unit) called Employees


Step :5

Saved the new file as Sorted.csv

Giving a manual Password as usually people use small passwords in Mdaemon.

Remove –Whatif in the end of the Command so that It will create mailboxes.

Have “-WhatIf” added so that you can sort out the errors first. before executing the command in the first place

Import-CSV "sorted.csv" | foreach {new-mailbox -Name $_.displayname -Alias $_.mailbox -FirstName $_.firstname -LastName $_.lastname -UserPrincipalName $_.email -Database "Mailbox database" -OrganizationalUnit "Employees" -password (ConvertTo-SecureString "Password@12" -AsPlainText -force) -primarySmtpaddress $_.email -Whatif} 

Now accounts have been Migrated Successfully,

And Mailbox data have been migrated via PST (Mdaemon was installed on Windows 2000 Server)

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles


  1. Hi
    your aretice was helpful.The only question for me is how to export each mailbox into PST so I can import them into exchange via powershell.
    I’m searching for a solution other than ussing outlook because it’s really time consuming.
    thanks in advance

  2. Hi,
    Can you plz explain how can i export address account from mDaemon 13 so i can import them into MS outlook2013 addressbook. thanks


Please enter your comment!
Please enter your name here