Moving form DirectAdmin to cPanel

betoranaldi

Well-Known Member
Dec 5, 2007
105
0
66
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
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
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
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 protected]).
 

phys1ks

Member
Jan 15, 2007
7
0
151
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.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
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.
 

rachweb

Well-Known Member
Jun 26, 2004
268
0
166
amsterdam
@cpanelkenneth

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

betoranaldi

Well-Known Member
Dec 5, 2007
105
0
66
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?
 
Last edited:

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
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?
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.
 

betoranaldi

Well-Known Member
Dec 5, 2007
105
0
66
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
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
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
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.
 

rligg

Well-Known Member
Sep 16, 2003
275
0
166
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
I got the exact error. Was there a solution?
 

betoranaldi

Well-Known Member
Dec 5, 2007
105
0
66
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.
 

rligg

Well-Known Member
Sep 16, 2003
275
0
166
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.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
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.
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
 

rligg

Well-Known Member
Sep 16, 2003
275
0
166
They are working on some things. Not sure we have made any progress yet.
 

UBERHOST

Well-Known Member
Jan 13, 2008
101
0
66
California, US
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.
Just used this function for the first time and it worked perfectly. Thanks! :)
 

rligg

Well-Known Member
Sep 16, 2003
275
0
166
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?