On attempt to migrate mail content from Plesk for Windows with the command
# panel-migrator copy-mail-content config.ini --migration-list-file /opt/panel-migrator/sessions/migration-session/migration-list
it fails with the output below:
+ Client 'client1 (email@example.com)' ¦ ¦ ¦ + Subscription 'migr-example.com' ¦ ¦ ¦ ¦ ¦ L error: Unable to copy mail content of mailbox 'firstname.lastname@example.org'. Command exit code: 2, last 5 lines of output: ¦ ¦ Info: will try to use LOGIN authentication on host2 ¦ ¦ Info: imap connexions timeout is 120 seconds ¦ ¦ Host1: IMAP server [mail.provider.com] port  user [email@example.com] ¦ ¦ Host2: IMAP server [192.168.0.10] port  user [firstname.lastname@example.org] ¦ ¦ Failure: can not open imap connection on host1 [mail.provider.com] with user [email@example.com]: socket closed while reading data from server ¦ ¦ Resolve the errors and run the tool with the copy-mail-content command. For detailed log see /opt/panel-migrator/sessions/migration-session/mailsync_migr-example.com_user.log.
IMAP service is broken on source Plesk. On attempt to login to mail account the IMAP service MEIMAPS crashes with the error logged in Windows Event Viewer:
Faulting application MEIMAPS.exe, version 220.127.116.11, time stamp 0x54e48d73, faulting module MEIMAPS.exe, version 18.104.22.168, time stamp 0x54e48d73, exception code 0xc0000005, fault offset 0x000089ac, process id 0x2d7c, application start time 0x01d0f27135b141a9.
- Try to reinstall MailEnable according to the article KB120830
- Contact MailEnable technical support in order to repair MailEnable IMAP service
If steps above do not help, find the option
config.inifile and change it from
messagesso it would be as below:
Note: This option will allow to copy messages from inboxes only as it does not use IMAP protocol.