How do we check whether our server is using mbox or maildir?

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
Hi all,

I think many people are upgrading to cpanel v11.

How do we check whether our server is using mbox or maildir?
 

Lastqaurk

Member
Jun 29, 2006
23
0
151
Go to service status in either WHM or cPanel. It will tell you whether it is mbox or mail dir.
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
Go to service status in either WHM or cPanel. It will tell you whether it is mbox or mail dir.
I don't see any mbox or maildir under there.
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
I don't have that under server status.

I am using WHM 10.8.0 cPanel 10.9.0-R10737 . Why mine is different?
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
508
3
168
Planet Earth
I don't have that under server status.

I am using WHM 10.8.0 cPanel 10.9.0-R10737 . Why mine is different?

Are you a Reseller or owner of the server? If you are reseller then you can verify that the server is running maildir or mailbox by checking the email accounts folders inside mail folder. If you see folders cur, new, tmp then the server is running maildir.
 

gundamz

Well-Known Member
Mar 27, 2002
245
0
316
I am viewing whm as root user.
 

valkira

Active Member
May 3, 2004
37
2
156
Croatia
cPanel Access Level
Root Administrator
I you want the easiest way to check this, just go to /home/username/mail/domain.com/email_username and type 'ls -al'

If you see something like:

drwxr-x--- 2 username mail 4096 Mar 16 19:57 ./
drwxr-xr-x 8 username mail 4096 Apr 13 2005 ../
-rw-rw---- 1 username mail 18739207 Mar 16 19:57 inbox

It's mbox, and if you see something like:

drwxr-x--- 14 username mail 4096 Feb 13 16:56 ./
drwxr-xr-x 17 username mail 4096 Jan 4 18:38 ../
drwx------ 2 username mail 28672 May 21 22:19 cur/
-rw-rw---- 1 username mail 12 Nov 15 2005 .mailboxlist
-rw------- 1 username mail 3687 May 21 21:54 maildirsize
drwx------ 2 username mail 4096 May 21 22:19 new/

It's maildir

The point is that mbox keeps all e-mails in one file, maildir keepsa them (I'm sure you can guess) in one folder/direcroty