• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Mail Import tool errors

HoracioS

Regular Pleskian
Hello, on Obsidian, when trying to import mailboxes via IMAP I got these errors:

Failed to connect to the source server and copy mail messages
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-1/mail_migrator_source_account_2020-05-13-11-00-04-1_1 --source-message-ids-cache-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-1/mail_message_ids_cache.0d11534959991cfaa4ffa50814f2df3b --target-account-description-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-1/mail_migrator_target_account_2020-05-13-11-00-04-1_1 --backup-progress-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-1/mail_migrator_backup_progress_2020-05-13-11-00-04-1_1.json --restore-progress-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-1/mail_migrator_restore_progress_2020-05-13-11-00-04-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=195.201.113.101 --source-port=143 --source-timeout=60 --source-imap-protocol=imap --stop-mark-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-1/tasks/2020-05-13-11-00-04-1/stop
exit code: 1
stdout:
stderr: Failed to backup IMAP folder 'Public': Failed to select IMAP folder 'Public': EXAMINE command error: BAD ['[READ-ONLY] EXAMINE unable to open folder index.']. All messages of that folder will not be migrated
 
Possibly incorrect permissions to the folder mentioned in the error message (here it is Public) on the source server.
Try to restore the default permissions on the source server:

# plesk repair mail example.com
 
Back
Top