• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Plesk Migrator - Mail import fails with got more than 1000000 bytes

cool_sh

Basic Pleskian
I am getting an error when using the mail import. Is there an option to increase/configure this limit or what is it about?

X Failed to connect to the source server and copy mail messages [Details ausblenden]
Command execution failed on the local server with non-zero exit code.
command: /usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/extras/mail-migrator/linux/mail-migrator migrate --source-account-description-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-109/mail_migrator_source_account_2020-11-20-12-46-40-1_1 --source-message-ids-cache-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-109/mail_message_ids_cache.051ea748b3ea277acae98e03204f3839 --target-account-description-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-109/mail_migrator_target_account_2020-11-20-12-46-40-1_1 --backup-progress-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-109/mail_migrator_backup_progress_2020-11-20-12-46-40-1_1.json --restore-progress-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-109/mail_migrator_restore_progress_2020-11-20-12-46-40-1_1.json --source-ca-bundle=/usr/local/psa/admin/plib/modules/site-import/backend/lib/python/parallels/core/extras/cacert/cacert.pem --target-server-type=dovecot --source-host=andromeda.hostingspeicher.de --source-port=993 --source-timeout=60 --source-imap-protocol=imap-over-ssl --stop-mark-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-109/tasks/2020-11-20-12-46-40-1/stop
exit code: 1
stdout:
stderr: Failed to backup IMAP folder 'INBOX.Trash': Failed to get list of message UIDs: command: UID => got more than 1000000 bytes. All messages of that folder will not be migrated

On Obsidian 18.0.31 with CentOs 7.9.2009
 
The folder is the Trash.. are you sure you want to migrate the trash too? Maybe you can purge it before trying to migrate again...
I´ve used in the past imapsync to migrate non plesk mails... maybe you can use it to "manually" migrate the mail accounts...
 
Hi,
yes, the trash folder is/was the problem. But it couldn't be deleted as the new mailbox is a backup of the old one and shouldn't have all mails in it.

We we able to solve it not using the extension but migrating the mails with imapsync.
 
Back
Top