Article ID: 122614, created on Aug 11, 2014, last review on Aug 11, 2014

  • Applies to:
  • Plesk Automation

Symptoms

Migration failed with error during the copy mail content operation. There is an error when performing copy mail content operation:

├ error: Unable to copy mail content of mailbox 'name@domain.tld'. Command exit code: 127, last 5 lines of output:
│ /bin/sh: imapsync: command not found
│ Resolve the errors and run the tool with the copy-mail-content command. For detailed log see migration-session/mailsync.log.

Cause

Imapsync utility is not installed on the server with Migration tool:

[root@PPA ppa-migrator]# rpm -qa | grep imapsync
[root@PPA ppa-migrator]#

Resolution

Imapsync have to be installed on the server.

To install imapsync on CentOS 5, use the PPA moving tool:

# ppa-transfer install-imapsync

To install imapsync on RHEL 5, follow the instructions below:

  1. Install EPEL repository by running the following command:

    On 32-bit OSes:

    # rpm -ihv http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
    

    On 64-bit OSes:

    # rpm -ihv http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
    
  2. Install imapsync from the EPEL repository:

    # yum install imapsync
    

To install imapsync on CentOS 6 or RHEL 6, follow the instructions below:

  1. Install EPEL repository by running the following command:

    On 32-bit OSes:

    # rpm -ihv http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
    

    On 64-bit OSes:

    # rpm -ihv http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    
  2. Install imapsync from the EPEL repository:

    # yum install imapsync
    

Search Words

Unable to copy mail content of mailbox

migration

error

mail

imapsync

e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF