• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question mail enable email migration to Linux plesk

I dont think is any standard procedure for the query have mentioned, It has to be done manually and there are some pre-configurations that needs to be done before the migration.
 
Hello, junaida786!
We`ve published update for Plesk Migrator(2.2.2) which contains feature that allows to migrate mail content between Windows and Linux servers. All you need is form file with hosting description and run copy-mail-content. See details in Migration Guide, chapter Migrating from Custom Hosting on https://docs.plesk.com/en-US/17.0/

Example of file with description in yaml format:
Code:
# This example describes how to perform mail migration by IMAP
subscriptions:
    -
        # Mail will be migrated to specified subscription. If it does not exist - it will be created.
        name: mail.tld
        mail_service:
            # Here we describe mail users as usual:
            mail_users:
                # Simple example, when you migrate mail account that has the same e-mail and password
                # both on source and target servers.
                -
                    # Specify IP address of the source mail server.
                    mail_ip: 192.168.1.1
                    # Account name - everything before '@' in e-mail address.
                    # If account does not exist - it will be created.
                    name: sales
                    # Password of the mail account on both source and target server.
                    # It will be used to:
                    # - create mail account on the target server
                    # - connect by IMAP to the source server
                    # If you need different passwords for source and target servers - check the next mail
                    # account example below.
                    # Correct password is required to perform mail migration by IMAP.
                    password: qweqwe
                # Example, when you migrate mail account that has different e-mail or password on source
                # and target servers.
                -
                    # Specify IP address of the source mail server.
                    mail_ip: 192.168.1.2
                    # Target account name - everything before '@' in e-mail address.
                    # If account does not exist - it will be created.
                    name: admin
                    # Password of the mail account on the target server.
                    password: qweqwe
                    # Here we specify that we want to migrate mail
                    # from "[email protected]" to "[email protected]"
                    # (if that option is not specified, migration
                    # from "[email protected]" to "[email protected]" is performed).
                    source_full_name: [email protected]
                    # Password of mail account on the source server.
                    # Correct password is required to perform mail migration by IMAP.
                    source_password: 123qwe

The same example in json format:
Code:
{
  "subscriptions": [
    {
      "name": "mail.tld",
      "mail_service": {
        "mail_users": [
          {
            "mail_ip": "192.168.1.1",
            "name": "sales",
            "password": "qweqwe"
          },
          {
            "mail_ip": "192.168.1.2",
            "name": "admin",
            "password": "qweqwe",
            "source_full_name": "[email protected]",
            "source_password": "123qwe"
          }
        ]
      }
    }
  ]
}

Form file with your data and perform migration as described in documentation. Feel free to ask questions.
 
Back
Top