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.

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

Discussion in 'E-mail Discussions' started by gundamz, May 21, 2007.

  1. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    Hi all,

    I think many people are upgrading to cpanel v11.

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

    Lastqaurk Member

    Joined:
    Jun 29, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Go to service status in either WHM or cPanel. It will tell you whether it is mbox or mail dir.
     
  3. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    I don't see any mbox or maildir under there.
     
  4. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Look for something like:
     
  5. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    I don't have that under server status.

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

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    What do you see for exim on your box?

    (Could just be 11 that shows this...)
     
  7. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth

    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.
     
  8. gundamz

    gundamz Well-Known Member

    Joined:
    Mar 27, 2002
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16
    I am viewing whm as root user.
     
  9. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Check your Service Manager and make sure both checkboxes are checked next to Exim.

    In any case, you can also run:

    /scripts/convert2maildir

    as root via SSH and that will tell you what you are using and offer to convert things if needed.

    Regards,

    Aric
     
  10. valkira

    valkira Active Member

    Joined:
    May 3, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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
     
Loading...

Share This Page