How to migrate mailboxes between domains
This document covers several migration scenarios. Based on your needs, determine if data migration is required and choose the appropriate method.
If the destination mailbox is not an Alibaba Mail mailbox, do not use the mailbox migration feature in Alibaba Mail.
If the source mailbox is not an Alibaba Mail mailbox, see the sections on email migration, mail fetching, or migration by using an Outlook or Foxmail client.
Scenario 1: no data migration required
The new mailbox inherits all data from the original mailbox.
Multi-domain management
Both the source and destination mailboxes are Alibaba Mail mailboxes.
Use this method when your organization needs to use multiple primary domains as email suffixes. Each domain is associated with a different set of mailboxes, and the original domain remains active.
Procedure:
Log on to the Alibaba Mail Admin Console with the postmaster account. Click
Domains>Add Domain, enter the new domain, and then clickOK.You must configure
CNAME,MX, andTXTDNS records for the domain.
Limitations:
To use the multi-domain management feature, you must purchase 10 or more accounts.
Accounts under each primary domain are independent.
Related documentation: How do I add multiple domains and domain aliases?
Domain alias
Both the source and destination mailboxes are Alibaba Mail mailboxes.
Use this method to map an additional domain to your primary domain. This lets users access the same mailbox using email addresses from either domain. The original domain remains active.
Procedure:
Log on to the Alibaba Mail Admin Console with the postmaster account. On the
Domainspage, find the primary domain, and then clickMore>Add Domain Alias.You must configure
CNAME,MX, andTXTDNS records for the domain.
Limitations:
Each primary domain supports up to 6 domain aliases.
Related documentation: How do I add multiple domains and domain aliases?
Change bound domain
Both the source and destination mailboxes are Alibaba Mail mailboxes.
Use cases: Replace your original domain with a new one. All mailboxes will use the new domain, and the original domain will no longer be used for email.
Procedure:
Log on to the Alibaba Cloud Enterprise Mail Console with the Alibaba Cloud account used to purchase the mail service. Navigate to
Mailbox List>Mailbox Management>Basic Information, and then click Change domain.You must configure
CNAME,MX, andTXTDNS records for the domain.
Limitations:
You can change the domain a maximum of six times per month. Proceed with caution.
Related documentation: Change the bound domain for Alibaba Mail
Note: Before you change the domain, you must configure the required DNS records for the new domain. For more information, see How to configure DNS records for an Alibaba Cloud (Wanwang) domain to use Alibaba Mail?.

Scenario 2: data migration required
Data migration may take some time to complete.
Mailbox Recycle Bin data transfer
Both the source and destination mailboxes are Alibaba Mail mailboxes.
Use this method in the following cases:
Restore historical email data for an account that was accidentally deleted.
Transfer email data from a former employee's account to another account.
Deleted mailbox accounts are retained for 30 days by default.
Procedure
Log on to the admin console:
Log on to the Alibaba Mail Admin Console with the
postmasteraccount.
Navigate to the Mailbox Recycle Bin:
In the left-side navigation pane, choose
Users and Groups>Mailbox Recycle Bin.
Choose an action:
Restore an account: Find the target account and click
Restore Accountin theActionscolumn. Confirm the operation.Transfer emails: Click
Transfer mails, enter the destination mailbox address, and transfer historical emails to a specific folder in the destination account.

Limitations:
If an account has been deleted for more than 30 days, it cannot be restored.
If the deleted account's domain was also deleted, you must re-add the domain and recreate the account before you can transfer the emails.
Emails in the
SpamandDraftsfolders are not transferred.A single destination mailbox can receive a maximum of 2 million emails and contain a maximum of 800 folders.
Related documentation: Mailbox Recycle Bin
Mail fetching
Use this method to fetch emails from other mailboxes into your Alibaba Mail account.
Procedure:
Set up a mail fetching rule by providing the email address and password of the external account.
Supports POP/IMAP protocols.
Limitations:
Some external email accounts require disabling two-factor authentication or using a client-specific password.
For more information, see How to receive emails from other mailboxes?
Mailbox migration (same or different organizations)
To transfer between accounts in the same organization, use the transfer feature in the Mailbox Recycle Bin (Mailbox Recycle Bin).
Use case: Migrate emails from your source email system to Alibaba Mail.
Procedure:
Create the destination email accounts.
Create a migration task.
Enter the migration parameters (IMAP/POP).
Choose a migration method: batch configuration or employee self-service.
Limitations:
For migrations within the same organization, start the migration directly in the destination mailbox. For migrations between different organizations, you must verify the source mailbox information.
Changing the source mailbox password may cause the migration to fail.
If a migration fails, check that the IMAP/POP service for the source mailbox is working correctly. Ensure that folder names do not contain special characters.
For more information, see Email migration.
Outlook/Foxmail + IMAP Migration
Scenario: Sync emails using a client.
Procedure:
Add an Alibaba Mail account in Outlook.
Sync emails using the IMAP protocol.
Limitations:
Ensure that the IMAP service is enabled for the source mailbox.
Special folder names may affect synchronization.
Related documents: