• 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.

Issue mail import fails

JazzITPlesk

New Pleskian
Server operating system version
alama9
Plesk version and microupdate number
Plesk Obsidian Version 18.0.58 Update #2, last updated on Jan 26, 2024 03:20 AM
Migrating from a different platform to Plesk.

All other mail files have been imported except one. This is a big mail file approx 60GB and 226550 emails. The counter seems to complete all the e-mails but then fails.
Re-sync copies a few 3 or 4 email (i assume these are the most recent) then fails.

The mail file is unlimited and there is plenty of disk space on the server.

The mail file size shows 0 in the list of mail accounts, but SSH and looking at the actual mail folder there appears to be about 60GB data.

This is the error:

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-2/mail_migrator_source_account_2024-02-08-16-30-51-1_1 --source-message-ids-cache-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-2/mail_message_ids_cache.6a31d01de4b6cccb32e7e8765b361982 --target-account-description-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-2/mail_migrator_target_account_2024-02-08-16-30-51-1_1 --backup-progress-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-2/mail_migrator_backup_progress_2024-02-08-16-30-51-1_1.json --restore-progress-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-2/mail_migrator_restore_progress_2024-02-08-16-30-51-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-allow-insecure-connections=true --source-host=mail.xxxxxxxxco.uk --source-timeout=30 --stop-mark-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-2/tasks/2024-02-08-16-30-51-1/stop
exit code: 1
stdout:
stderr: Failed to backup message #43052 (UID 43061) in IMAP folder 'Sent': Failed to fetch message body: command: UID => socket error: EOF
 
There is a good chance that the source mailbox isn't working correctly. You could try to workaround the issue by using the "Mail Importer" from the free "Website Import" extension to import that mailbox separately. You could also try a tool like IMAPsync to do the same.
 
Hi did anyone get any answers to this?

I'm trying to export from a different panel on Linux and getting similar error messages for all of the mailboxes on that server, when trying to export.

I'm in contact with the source provider of the panel, as I'm wondering if they set some sort of restrictions on the server, that I'm not aware of.

Appreciate if anyone could give some advice on how they might have over come this problem. I'm a bit in limbo as I cannot move this domain.

Many Thanks,
Stefan.
 
Back
Top