0

We're in the process of moving a lot of users from a cPanel-based email server (dovecot server). Since cPanel-based email server does not support email aliases, multiple user accounts were created for the same person.

So, for example, John Doe had: [email protected], [email protected] and [email protected]. (Please don't ask me why they needed that many! lol)

Now, we'll be doing a mass transfer of all the email accounts from the dovecot server to Office 365/Exchange Online. So, each email will have a new account in Office 365. However, after the transfer we would like to merge all the email addresses for the same person, along with their emails, contacts and calendars, and then assign aliases.

How can this merging be achieved? (without using Outlook 2016 to copy each email account's mail box)

12
  • You say you don't want to use Outlook but how are you planning on doing the transfer in the first place? Is there a utility or third party product that can transfer directly from the existing email server to Office 365?
    – joeqwerty
    Mar 9, 2018 at 18:54
  • Like @joeqwerty says (hey Joe!). My recommendation in such a state as this would be to export all 3 mailboxes (mail, calendar, contacts) into a single PST file, create the consolidated mailbox for the user in O365, then import their PST back into their new O365 mailbox.
    – TheCleaner
    Mar 9, 2018 at 19:05
  • 1
    (Hey, TheCleaner! Long time. Hope all is well!) - Additionally, you'll need to add all of the domains as verified domains in Office 365 and then you can create aliases for each user for each domain name.
    – joeqwerty
    Mar 9, 2018 at 19:12
  • @joeqwerty I can bulk transfer all users emails using IMAP and then, I'll ask the users to import the contacts themselves (unless, I can bulk transfer their contacts as well) support.office.com/en-ie/article/… Mar 9, 2018 at 19:14
  • @TheCleaner doing that for each person that has many user accounts will take a lot of time. Especially, when their mailboxes are in GBs. If this merging or consolidating could be done on the Exchange Online server itself, it'll save the load on my workstation and slow work-internet. In fact, this will save unnecessary traffic on Microsoft's Exchange Online servers as well, as consolidation will be done locally on their servers. Mar 9, 2018 at 19:16

1 Answer 1

1

Depending on how you are doing your first migration, it might be better to just import/merge everything during that step, rather than importing to separate mailboxes and then merging them after the fact.

To answer the question: You could use several methods to copy data from each mailbox into the 'primary' one for the user:

  1. Using Search-Mailbox: Have Search-Mailbox go through the secondary mailboxes and specify the primary one as the target to copy the results to:

https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/search-mailbox?view=exchange-ps

  1. Export the secondary mailboxes to a PST file, and then import them into the primary mailboxes:

Use the Compliance/eDiscovery search to export the data into a PST file: https://docs.microsoft.com/en-us/exchange/policy-and-compliance/ediscovery/export-results-to-pst?view=exchserver-2019

(N.B. If you're already exporting your data from your original server to PST files, you can use those.)

Then use the network upload / PST import part of the data migration facility to import that PST into the primary mailbox: https://docs.microsoft.com/en-us/office365/securitycompliance/use-network-upload-to-import-pst-files

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .