2.24.6.2. Mail import

Attention!

Import is available only if there is free places for mail.

When using this method, our server connects via IMAP to the mailbox hosted on the specified mail server, and all letters are copied from it from all folders (both standard and manually created). Copied emails on the source server are not deleted.

Important points:

  • Duplicate letters not transferred. If the mailbox contains multiple copies of the same letter, only one copy will be transferred.
  • Restarting the import migrates only new emails. Письма, которые уже были перенесены ранее, заново not transferred.
  • If the import went through without errors, but there are not transferred letters on the server, then it will be automatically repeated up to 20 times.
  • For Gmail If your Google account has 2-step verification turned on, you'll need to use a custom app password instead of your account password. You can create it by instructions.
  1. Open the section "Mailboxes".
  2. Click "Import mail" opposite the mailbox where you want to import letters:
  3. Fill out the form on the tab "IMAP" and press "Import mail":
    • "IMAPsettings" — select the mail service from which you want to import mail:

      Specify the data for connecting to the mail server (they should be specified in the support of the mail service or with the administrator of the server from which the mail is imported):

      • "IMAPserver" - specify the address of the IMAP server from where you want to import mail.
      • "IMAPport" - specify the port used to connect to the IMAP server.
      • "SSL connection protection" - check the box if encryption is to be used when connecting.
      • "Do not check the validity of an SSL certificate" — installed only in cases when a secure connection is used and the IMAP server from which the import is performed does not have a valid SSL certificate (for example, it uses a self—signed one).
    • Specify the login and password of the mailbox from which you want to import mail, using the switch, select whether to import all mail or only mail for the last few days (you will need to specify the number of days yourself):
  4. Wait for the import to complete. After completing on account mail a notification will be sent, which will indicate where the import was from and where, as well as the number of transferred letters and their total volume.

When all mail is transferred, in the domain settings you can set our MX recordsso that incoming mail does not go to mailboxes on the old hosting, but to mailboxes created with us.

The mbox format is used for mail export from the mailbox.

When using this method, letters are downloaded to our server from a file in the mbox format. This format is a text file in which all letters are stored as text one after the other (the data of each letter in the file starts with the text From and end with an empty string). It is in this format that letters from the Gmail mailbox are saved when exporting data using Google Takeout.

Maximum file size 30 GB

The size of the imported file must not exceed 30 GB. Larger files can be split into parts using a text editor (Notepad++, VS Code, etc.) or specialized programs.
  1. Open the section "Mailboxes".
  2. Click "Import mail" opposite the mailbox where you want to import letters:
  3. Select the mbox file form on the tab "mbox" and press "Import mail".

If the automatic transfer option is not suitable for some reason (for example, the mail server from which you want to transfer mail does not support IMAP), you can transfer messages manually using an email client.

  1. Create mailbox with the same name with which it was created on the old hosting.
  2. Connect using the Thunderbird mail client directly to two mailboxes:
    • To a new mailbox created on our hosting, in which you need to transfer letters (necessarily via the IMAP protocol).
    • To the old mailbox created on the old hosting, from which you need to transfer letters.
  3. In Thunderbird, on the left, select the mailbox and folder, from which the transfer of letters will be performed.
  4. Select all the letters you want to transfer.
  5. Right-click on the selected letters and in the menu that appears, select "Copy to folder".
  6. In the context menu, select the mailbox and folder where the letters are to be moved.
  7. Wait until the process of copying letters is completed.

Screenshot with an example of the process of copying letters from a mailbox test1 (created on the old hosting) to the mailbox test (created with us):

After all mail has been transferred, in the domain settings you can set our MX recordsso that incoming mail does not go to mailboxes on the old hosting, but to mailboxes created with us.

Content