Search Engine: Elastic

Article ID: 122875, created on Sep 13, 2014, last review on Jul 14, 2018

  • Applies to:
  • Plesk Automation 11.5


Transfer of mailboxes failed with the following error:

[2014-07-30 09:42:41,169] [ERROR] |copy-mail-content/hsphere/domain.tld/mailname| Failed to perform an action on subscription 'domain.tld': Unable to copy mail content of mailbox 'mailname@domain.tld'.
 Command exit code: 255, last 5 lines of output:
Failure: error login on [] with user [mailname@domain.tld] auth [LOGIN]: 2 NO Login failed.
 at /usr/bin/imapsync line 2375
        main::die_clean('Failure: error login on [] with user [webmaste...') called at /usr/bin/imapsync line 2137
        main::authenticate_imap('Mail::IMAPClient=HASH(0x1586fac0)',, 143, 'mailname@domain.tld', 'undef', 'password', 'undef', 120, 0, ...) called at /usr/bin/imapsync line 2100
        main::login_imap(, 143, 'mailname@domain.tld', 'undef', 'password', 'undef', 120, 0, 'undef', ...) called at /usr/bin/imapsync line 1009

On source server there are mailboxes with the same name on different domains. Like '' and ''.


The behavior is caused by software issue PPA-2038. The fix is included in PA MU #7.


Download the following patch and apply it with the following command:

patch -p0<patch_imapsync

To avoid the issue in future, update PA to the latest version:

/usr/local/ppa/bin/ppa_update --install-updates

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF