• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Email Import Fail

stefanb

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Version 18.0.62 Update #2
Hello,

I'm having some problems importing a mailbox from another Linux panel into Plesk using the mail importer.

I've tried multiple mailboxes on the domain to transfer to Plesk and they all error.

Any help with this error would be appreciated.

Failed to connect to the source server and copy mail messages [Hide details]
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-3/mail_migrator_source_account_2024-08-06-18-10-24-1_1 --source-message-ids-cache-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-3/mail_message_ids_cache.f5287b4536280f8af68b8c5dd01abac2 --target-account-description-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-3/mail_migrator_target_account_2024-08-06-18-10-24-1_1 --backup-progress-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-3/mail_migrator_backup_progress_2024-08-06-18-10-24-1_1.json --restore-progress-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-3/mail_migrator_restore_progress_2024-08-06-18-10-24-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=mail.intraweb.uk --source-port=993 --source-timeout=30 --source-imap-protocol=imap-over-ssl --stop-mark-file=/usr/local/psa/var/modules/site-import/sessions/mail-migration-3/tasks/2024-08-06-18-10-24-1/stop
exit code: 1
stdout:
stderr: Failed to backup message #10 (UID 10) in IMAP folder '"2024"': 'utf-8' codec can't decode bytes in position 2347-2348: invalid continuation byte

Failed to backup message #127 (UID 127) in IMAP folder '"Trash"': 'utf-8' codec can't decode byte 0xcd in position 8105: invalid continuation byte

Failed to backup message #182 (UID 183) in IMAP folder '"Trash"': 'utf-8' codec can't decode bytes in position 7665-7666: invalid continuation byte

Failed to backup message #230 (UID 231) in IMAP folder '"Trash"': 'utf-8' codec can't decode byte 0xcd in position 9554: invalid continuation byte

Failed to backup message #235 (UID 236) in IMAP folder '"Trash"': 'utf-8' codec can't decode byte 0xcd in position 8140: invalid continuation byte

Failed to backup message #239 (UID 240) in IMAP folder '"Trash"': 'utf-8' codec can't decode byte 0x92 in position 10475: invalid start byte

Failed to backup message #1 (UID 1) in IMAP folder '"Junk"': 'utf-8' codec can't decode byte 0xae in position 5664: invalid start byte

Failed to backup message #5 (UID 5) in IMAP folder '"Junk"': 'utf-8' codec can't decode byte 0xeb in position 6270: invalid continuation byte

Failed to backup message #7 (UID 7) in IMAP folder '"Junk"': 'utf-8' codec can't decode byte 0xeb in position 6207: invalid continuation byte

Failed to backup message #164 (UID 165) in IMAP folder '"Archive"': 'utf-8' codec can't decode byte 0xe2 in position 7362: invalid continuation byte

Failed to backup message #217 (UID 218) in IMAP folder '"Archive"': 'utf-8' codec can't decode bytes in position 8723-8724: invalid continuation byte

Failed to backup message #218 (UID 219) in IMAP folder '"Archive"': 'utf-8' codec can't decode bytes in position 2389-2390: invalid continuation byte

Failed to backup message #224 (UID 225) in IMAP folder '"Archive"': 'utf-8' codec can't decode byte 0xcd in position 8109: invalid continuation byte

Failed to backup message #259 (UID 260) in IMAP folder '"Archive"': 'utf-8' codec can't decode byte 0xcd in position 9523: invalid continuation byte
 
That’s perfect. It worked.

I thought I was going to have to painfully manually migrate the mailboxes.

Thanks for your help.
 
We have released an update which fixes the "utf-8' codec can't decode" error. If you have automatic updates enabled this update should be installed automatically. Site Import 1.8.1:

Fixed the issue where migration of mailboxes with emails that contained some Latin-1 encoded symbols could fail. (PMT-5354)

Please let us know if you encounter any further issues.
 
Back
Top