Article ID: 1042, created on Oct 6, 2008, last review on May 10, 2014

  • Applies to:
  • Plesk 8.x for Linux/Unix
  • Plesk Expand 2.x


First of all, you have to back up mail contents on Plesk server you are going to migrate mail from.

/usr/bin/mysql -r --batch -N -uadmin -p`cat /etc/psa/.psa.shadow ` psa -e"select id from domains;" > domains_id

/usr/local/psa/bin/psadump --nostop --nostop-domain --tar-ignore-failed-read --domains-ids=domains_id --backup-only-mail --force -f - | split -b 2000m - linux2mail_dump.

Transfer the backup file to Mail server.

scp linux2mail_dump.* root@IP_ADDRESS:

Restore the backup file on Cmail server.

cat linux2mail_dump.* | /usr/local/psa/bin/psarestore -f - -m ip_map -s shall_map

Once restoration is completed, you can assign Plesk server to Cmail with "Migrate mail content" button unchecked.

b8ef5052d936e902043e41759118114e a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 0316bb680a7c882e8693bf1bcd23642b 8760abb54be64bdc3c8805b6572624e8 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF