1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

quick question for plesk gurus

Discussion in 'Plesk for Linux - 8.x and Older' started by josesan311, Nov 1, 2007.

  1. josesan311

    josesan311 Guest

    0
     
    Hello, thank you in advance for helping me on this issue.

    Im doing two site migrations from a server to another server, thing is i couldnt do a pleskbackup because i didnt have enough space to create it so i decided to rsync the neccesary folders from one server to another.

    The sites are already working, i could rsync the httpdocs folder and mysql databases as well.

    The issue is i dont know how to migrate mails and mail accounts because i dont know where they are located.

    Question is, does someone knows which folders do i have to move to have my current mail settings/mail accounts and mails on the new server?

    Thank you very much for all.


    Best Regards.
     
  2. anb_t

    anb_t Guest

    0
     
    Well.. suppose you are using Plesk for Unix/Linux on the source server.
    Check Plesk configuration file to detect location of the mail directories:

    ~# grep MAIL /etc/psa/psa.conf
    QMAIL_ROOT_D /var/qmail
    QMAIL_MAILNAMES_D /var/qmail/mailnames
    MAILMAN_ROOT_D /usr/lib/mailman
    MAILMAN_VAR_D /var/lib/mailman
    ~#

    Mailboxes are in $QMAIL_MAILNAMES_D, others are qmail and mailman root directories, there binary files and configuration is located.

    By the way, you may migrate mail content to the destination server using Import mode in Plesk Migration Manager:

    http://kb.swsoft.com/en/1152

    Script PleskX.pl from the Migration Manager has an option '--only-mail'. PleskX.pl running with that option does not dump hosting data, only mail configuration and content.
    However it's IMPORTANT: you are able to restore a domain with the Manager in case the object does not exist on the destination server, otherwise existent domains are marked with the red mark and not available for selecting.

    ./anb
     
  3. josesan311

    josesan311 Guest

    0
     
    Thanks for your quick response

    The thing is i just need to migrate all email related from two sites only (i have around 10), so, this will not make me to migrate all the mail data for the other sites aswell right? i dont need to include the other sites content.


    Best regards.
     
  4. Ladmin

    Ladmin Guest

    0
     
    In this case you need to copy /var/qmail/mailnames/domian.tld directory for the required domain to a new server and all the mail accounts and their mail messages with settings will be copied as well
     
Loading...