• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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