Plesk for Linux
kb: bug
ext: migrator
ABT: Group A
Applicable to:
- Plesk for Linux
Symptoms
Attempt to import mail messages in Plesk fails with the following error:
PLESK_ERROR: Failed to connect to the source server and copy mail messages
stderr: Internal error of mail migrator: [Errno 2] No such file or directory: '/var/qmail/mailnames/example.com/mail/Maildir'
Cause
The default location of mailboxes was customized.
Mail Import does not support customized mail paths. This behavior was confirmed as a bug with ID PMT-4585.
Resolution
-
Connect to the server via SSH.
-
Use the command below to mount the custom mailboxes location to the default MailDir:
# mount --bind /custom/location/mailnames /var/qmail/mailnames
-
Rapair mail server configuration:
# plesk repair mail -y
Comments
3 comments
The symlink doesn't work for me. Stil receive the same error.
______________________________________________________
UPDATE:
Command lines below did the fix!
Hello Kevin Dorlas
Thank you for the info.
Glad to hear it's fixed now. Seem there was some additional misconfiguration on your server.
Debian 10 also didn't work for PLESK support command.
Please sign in to leave a comment.