Maildir question before conversion

bsasninja

Well-Known Member
Sep 2, 2004
527
0
166
I would like to convert to the maildir format.
Im running WHM 10.8.0 cPanel 10.9.0-R57 with CentOS 4.4 i686 - WHM X v3.1.0 - Exim 4.52
Running cppop and uwimap. Running spamassassin on the server in some accounts. Using dwmail as webmail.

I have 1200 accounts on my server? how much time the conversion takes? Is secure? cause I read that some people after the conversion couldnt get the emails working (sending or receiving)
If this happens what steps should be taken??

Thank you.
 
Last edited:

JamesSmith

Well-Known Member
Sep 17, 2003
185
0
166
UK, Luton
With 1200 it will take some time. We did the conversion on one of our servers with 500 sites, it took about 2 hours to complete.

But it also depends how much they use e-mail and if they store e-mails on the server.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Indeed. I've seen the conversion take from around a few minutes to 12 or more hours depending on the amount of email stored on the server. You do have to be very careful and allow the conversion process to complete. It doesn't log each mailbox conversion anymore and it may seem like it is done, but you should check the running processes and if /usr/local/cpanel/bin/convertmaildir is still running you need to wait until it completes. A handy way to monitor that is to use:

watch "ps axf | grep -v grep | grep mb2md"

Which will show you which mailbox it is currently working on.
 

Un Area

Well-Known Member
Nov 16, 2006
90
1
156
People cant check email when the conversion is running, isnt it?
Exim is modified after the conversion? I mean if some line is added to the exim.conf
What happens to cppop and uwimap at the whm restart services, these are modified by the courier ones?

Thanks
 
Last edited:

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
During the conversion process all email, incoming or outgoing, is queued. Anyone trying to access their account will get a login failure until their particular account is converted. cppop and uwimap are stopped and disabled before the conversion on the mailbox data is started.
 

switchsites

Member
Jun 24, 2004
5
0
151
Hi Vince,

We just peformed the upgrade yesterday and these are our only issues so far:

-customers using IMAP must subscribe to their folders again.
-Horde is no longer available.
-the global login for an account can no longer access all email accounts on the domain (is there a way to get this feature back?).
-some customers using thunderbird have been getting an ssl error when attemtping to send email - all they have to do is remove the certificate entry for the domain/server from inside the security section of thunderbird.

Besides those issues the backup and conversion process went perfectly and only took an hour or two for 100~ accounts.

Dean
 
Last edited:

Un Area

Well-Known Member
Nov 16, 2006
90
1
156
Switchsites or Chirpy what OS are you using when you did the conversion? We are running CentOS 4.4

Thanks!
 

superiorhost

Well-Known Member
Nov 16, 2001
77
0
306
cPanel Access Level
Root Administrator
Hi,
You should have Horde after the conversion.

It is Neomail that is removed...
Horde just looses the function to enter the default email address and check all mail for the domain.

It is a security setting. As well as neomail getting removed.

TiM L
 

switchsites

Member
Jun 24, 2004
5
0
151
Hi Guys,

Sorry, yes Neomail goes not Horde (my mistake). We're running RHEL 3.

As for the conversion process just simply use run the /scripts/convert2maildir script and select backup mail then after that completes (which took two hours or so for us) it will take you back to a menu and you run the conversion process.

Chirpy's advice of running
watch "ps axf | grep -v grep | grep mb2md"
is good because the process seems to hang while it is converting all your emails from mbox to maildir so it is useful to see which account it is up to.

One thing I have noticed after the upgrade, and even after a STABLE cPanel upgrade te "Restart Services" option in WHM is still showing:

IMAP Server (uwimap)
Mail Server (Exim)
POP3 Server (cppop)

superiorhost: Do you know of a way to restore this feature in Horde? I know it is a security feature but several people find it very useful.
 

mambovince

Well-Known Member
Jan 15, 2005
193
0
166
London, UK
As for the conversion process just simply use run the /scripts/convert2maildir script and select backup mail then after that completes (which took two hours or so for us) it will take you back to a menu and you run the conversion process.

... ... ...

superiorhost: Do you know of a way to restore this feature in Horde? I know it is a security feature but several people find it very useful.
Hey thanks.
So we don't have to worry about creating mail backups, as the start of the conversion process includes this option?

Many thanks,

- Vince

p.s. I can see some customers not being happy about the removal to view all mail boxes from main default account, as many site owners setup different addresses to help organise their communications.
 

switchsites

Member
Jun 24, 2004
5
0
151
Hi Vince, yes, that is correct - there is no need to make your own backup.

And our biggest problem is exactly the one you describe as many people use multiple emails but like to check them easily from one account.
 

fcsnc

Well-Known Member
Mar 19, 2002
52
0
306
North Carolina
One thing I have noticed after the upgrade, and even after a STABLE cPanel upgrade te "Restart Services" option in WHM is still showing:

IMAP Server (uwimap)
Mail Server (Exim)
POP3 Server (cppop)
If true, that really needs to be fixed. Has anyone opened a ticket about it? I run STABLE for good reasons. Also, I can't open a ticket because I'm not a direct customer of cPanel.
 

MaraBlue

Well-Known Member
May 3, 2005
332
2
168
Carmichael, CA
cPanel Access Level
Root Administrator
If true, that really needs to be fixed. Has anyone opened a ticket about it? I run STABLE for good reasons. Also, I can't open a ticket because I'm not a direct customer of cPanel.
I have the same thing on RELEASE 10.9.0-R95. I double checked to make sure Courier was really installed and running (it is and it is). I'll check to see if it's been reported in Bugzilla.
 

MaraBlue

Well-Known Member
May 3, 2005
332
2
168
Carmichael, CA
cPanel Access Level
Root Administrator
So, if it's so good, why doesn't cPanel implement it by default?
That's pretty much a no-brainer.

cPanel basically *does*, but systems that were created under old methods need to be converted. You know, this newfangled thing call "technology", ever changing and all that.