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.

Moving form DirectAdmin to cPanel

Discussion in 'General Discussion' started by betoranaldi, Dec 6, 2007.

  1. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    I'm considering moving my current domains (12-15 of them) from a directadmin control panel to a cpanel controlled server.

    I can manually transfer files (if i have to,) same with the databases. What I am concerned about is the emails. I currently run dovecot (imap) on the directadmin server, what is the easiest way to transfer over email accounts and there content?

    I also would like to know if there is any easy way to limit emails on a per domain basis. I would like to limit each domain to ~300 emails outgoing per hour. but there is one domain in particular that will be sending out newsletters that at times send 400 emails an hour.

    Thanks in advance
    Brian
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Currently, you can limit how many emails a domain sends out per hour, but not have different limits for specific domains. The topic of having different limits for a particular domain is a commonly requested function - however after scouring http://bugzilla.cpanel.net - I did not find any official requests for this functionality. Perhaps you may want to make such a request on http://bugzilla.cpanel.net and then link to your entry here so others can vote for it.

    Note that there is a migration script in the EDGE build at the moment for migrating from DA to cPanel/WHM. While it's still early in development, you may want to give it a try.

    As far as mail goes, if the DA server is running maildir, then you would just need to copy those files to the appropriate locations on the cPanel/WHM server (usually ~/mail and ~/mail/email@domain.com).
     
  3. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Thanks David, This looks promising...

    -Brian
     
  4. phys1ks

    phys1ks Member

    Joined:
    Jan 15, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Code:
    Packaging the account...
    
        bash: /scripts/pkgacct: No such file or directory
    
    
    Done
    Warning: file location not sent.. guessing.. this may not work ....
    Using the single archive method (/home/admin/cpmove-sasc.tar.gz)!
    Copy Destination: /home



    Thats all that I get when trying to move it.
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The Release, Current and EDGE builds we issued last night resolve that error. YOu must upgrade to build 18373+ to have the fix.
     
  6. rachweb

    rachweb Well-Known Member

    Joined:
    Jun 26, 2004
    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    amsterdam
    @cpanelkenneth

    When I run the DA transfer script, then I get empty list accounts under the subsection accounts.
     
  7. RobertF

    RobertF Member

    Joined:
    May 22, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    If you submit a ticket about the transfer with ATTN: Robert I can help you out.
     
  8. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    is the directadmin migration tool still only in the edge environment? or is it in other builds now? and how bad would it be if I upgrade to an edge version and then after the migration back to a stable version?
     
    #8 betoranaldi, Dec 31, 2007
    Last edited: Jan 1, 2008
  9. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    We do not recommend moving to EDGE then back to Stable.

    The DA transfer script is in all branches.

    If you experience issues with it, we strongly recommend you to open a support ticket with us.
     
  10. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    If it is in all branches, where is it located? I can't seem to find it.
     
  11. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    WHM -> Transfers -> Copy an account from another server and WHM -> Transfers -> Copy multiple accounts/packages from another server. When prompted for what type of server it is, select DA.
     
  12. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    I just tried this and all seems well but actually create the new account...


    Attempting to copy hampton from 205.xxx.xxx.xxx
    Creating /scripts/... Done
    Copying pkgacct-da script......Done
    Copying unpkgacct script......Done
    Packaging the account... Done
    Warning: file location not sent.. guessing.. this may not work ....
    Using the single archive method (/home/cpmove-hampton.tar.gz)!
    Copy Destination: /home
    Transfer Error
    The remote server didn't report a correct md5sum of the archive. Please ensure you selected the correct type of remote server.

    WHM 11.11.0 cPanel 11.16.0-S18450
    CENTOS Enterprise 5 x86_64 on virtuozzo - WHM X v3.1.0
     
  13. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I'd recommend submitting a support ticket directly to cPanel regarding this. You can do so at http://tickets.cpanel.net/submit by clicking the button at the bottom of the page to submit a request without logging in.
     
  14. rligg

    rligg Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    I got the exact error. Was there a solution?
     
  15. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    Turns out that the old server had a firewall, and the new server's ip was blocked, they couldn't talk to each other.

    Once I cleared all for the firewall setting the transfer went through.
     
  16. rligg

    rligg Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    Still many bugs in DA move script.

    1. It does not list users when doing multiple account move.
    2. It does not copy domain pointers over or convert them to park domains.
    3. It often fails to copy email accounts over.
    4. It does not copy mailing lists over(This would be hard I suppose).
    5. It does not copy DA "Added Domains" over.
    6. It does not remove unnecessary DA related files in the user home dir making more manual work.
     
  17. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If anyone is experiencing any issues migrating from DA to cPanel/WHM, feel welcome to make use of our free Transfer Assistance Program regardless of where you acquired your licensing:

    http://www.cpanel.net/products/cpwhm/cpanel11/transfer-asst.htm
     
  18. rligg

    rligg Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    They are working on some things. Not sure we have made any progress yet.
     
  19. UBERHOST

    UBERHOST Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    102
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    California, US
    Just used this function for the first time and it worked perfectly. Thanks! :)
     
  20. rligg

    rligg Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    When you say it worked perfectly, did you import an account that had domain pointers, email forwarders, mailing lists? Did it actuall copy the contents over to the email accounts?
     
Loading...

Share This Page