The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Email accounts error migrating from plesk

Discussion in 'Migrate to cPanel' started by Juan Lopez, Jul 19, 2017.

  1. Juan Lopez

    Juan Lopez Registered

    Joined:
    Jul 19, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Huesca
    cPanel Access Level:
    Root Administrator
    Hello
    When i try to import account from plesk with transfer tool, email accounts are created but messages are not transferred. All other data is imported perfectly (files, databases, subdomains...)

    In the log, y see this advice for each email account in the domain:

    Unable to map /var/qmail/mailnames/'domain_name'/'email_account'/Maildir into cpmove-'domain_name'/homedir/mail/'domain_name'/'email_account': No such file or directory at /tmp/.perl-ppk-Xn9VHY/lib/Filesys/POSIX/Error.pm line 48

    Xn9VHY is a random code that changes for each import

    This happens with all domains

    What can i do?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,171
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello Juan,

    This can happen if the Plesk server is configured with a non-standard mailname path. You can verify this by running the following command:

    Code:
    grep mailnames /etc/psa/psa.conf
    The standard path is:

    Code:
    /var/qmail/mailnames
    Alternate paths such as "/opt/qmail/mailnames" will prevent email data from copying over during the transfer. The workaround is to setup a bind mount on the Plesk server from the custom path to the standard one with a command such as:

    Code:
    mount --bind /opt/qmail/mailnames /var/qmail/mailnames
    You can then re-transfer the account to ensure the email data is copied over. Note that internal case CPANEL-12428 is open ensure this type of configuration is detected before initiating the transfer. Additionally, feel free to open a support ticket using the link in my signature if you need any help with this migration.

    Thank you.
     
  3. Juan Lopez

    Juan Lopez Registered

    Joined:
    Jul 19, 2017
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Huesca
    cPanel Access Level:
    Root Administrator
    Thanks.

    I opened a support ticket and they solved the problem.

    It was a problem with path and symlinks

    Thanks
     
    cPanelMichael likes this.
Loading...

Share This Page