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 ,
Replace
Email,MailBox,Domain,FullName,
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" -Organiza
tionalUnit "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)