qmail maildir to whm exim maildir with dovecot

onyari

Registered
Sep 13, 2011
4
0
51
cPanel Access Level
Root Administrator
Guys, i kindly need your help.
1. I have been running qmail mail server whereby the qmail maildir /home/vpopmail/domains/account/Maildir
with maildir has courierimapkeywords courierimapsubscribed courierimapuiddb cur new tmp
2. I would like to migrate the accounts to whm 11.30.0 which has exim running with dovecot
but the Maildir is different from qmail one
/home/xxx/mail/domainname/account/
with Maildir ./ ../ cur/ .Drafts/ .Junk/ maildirsize new/ .Sent/ tmp/ .Trash/


How can i make this migration successful
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Do you have a control panel running on the other server? If it is Plesk, which uses qmail, we have a WHM > Transfers > Copy multiple accounts/packages from another server option for Plesk to cPanel transfers.
 

onyari

Registered
Sep 13, 2011
4
0
51
cPanel Access Level
Root Administrator
The accounts are not on a control panel, it's running on qmail server that is installed with vpopmail. We i configure the mail on the cpanel i click on remote mail exchanger which has this several domains with many accounts.
I would like to transfer to my server that has whm with exim end dovecot.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Is the qmail machine using maildir or mbox? cPanel uses maildir, so it would be easier if both are using maildir format.
 

onyari

Registered
Sep 13, 2011
4
0
51
cPanel Access Level
Root Administrator
thank for your reply,
As i said earlier qmail machine is running Maildir and so is my exim whm,
the problem am facing is the directories where the mails are stored seems different,
look
Maildir for qmail has courierimapkeywords courierimapsubscribed courierimapuiddb cur new tmp
and
maildir for exim has ./ ../ cur/ .Drafts/ .Junk/ maildirsize new/ .Sent/ tmp/ .Trash/
how do i copy those mails?
Appreciate your assistance.
regards,
robert
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello Robert,

You are showing courier on the qmail machine but using dovecot on the cPanel one. Have you tried switching to courier on the cPanel machine in WHM > Mailserver Selection area? You could always switch back to dovecot after you've transferred the email accounts.

Thanks.
 

onyari

Registered
Sep 13, 2011
4
0
51
cPanel Access Level
Root Administrator
Thanks alot, i ust realized.
managed to copy some accounts with it's mails but am doing it manually one accout to the other. The previous server has around 300 domains will i do it per each account.
Any automation script.

Thank again.
robert