Articles in this section

Unable to import mail messages in Plesk if the default location of mailboxes was changed

kb: bug Plesk for Linux ext: migrator ABT: Group A

Applicable to:

  • Plesk for Linux

Symptoms

  • An 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 for the Plesk server was customized by using the steps in this article.

Mail Importing does not support customized mail directory paths and this is confirmed as a bug with ID #PMT-4585.

You may track the progress for this bug in the Change Log for Plesk Obsidian.

Resolution

Until the bug is resolved permanently, you may apply the following workaround:

  1. Connect to the server via SSH

  2. Use the command below to mount the customized mailboxes location to the default Maildir:

    # mount --bind /custom/location/mailnames /var/qmail/mailnames

  3. Rapair the mail server configuration:

    # plesk repair mail -y

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.