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.

Warning: deprecated mbox still in use.

Discussion in 'General Discussion' started by kyriakos, Jul 16, 2007.

  1. kyriakos

    kyriakos Member

    Joined:
    May 24, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I keep getting this warning when using some of WHM functions. Is there something i should do about it?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Yes, please upgrade from the old mbox format to the maildir format for storing mail. You can do this by running the following interactive script via SSH:

    /scripts/convert2maildir

    Note this process can take several hours (potentially over a day if you have several tens of gigabytes of mail stored on your server). Do not prematurely terminate the script even if it looks like it's hanging, halted etc. This will lead to problems... so please don't do it :).

    Backups made during this process will be stored in the backups directory designated in your WHM settings.
     
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    I suggest running the convert2maildir script at late night during the
    low traffic period for your server when less people will be trying to
    check and send mail, etc

    I would also either cancel any scheduled backups for that night or
    setup to run /script/convert2maildir after daily backups are finished
    so you get fully uninterrupted performance.

    Conversion of your server can take anywhere from a few seconds to
    a few hours depending on how much mail is stored on your server
    and how large each of your user's mailboxes are at the time that
    you initiate the conversion process.
     
  4. kyriakos

    kyriakos Member

    Joined:
    May 24, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    ok will do this tonight. thanks.


    what is the benefit of maildir over the previous system?
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The very experienced sysAdmins will note a lot of benefits. Personally, the one thing I've noticed a lot of people note is much faster retrieval/processing of mail since the server only needs to look at a small file to retrieve a single email rather than sort through a potentially multi-hundred-megabyte file to find an individual email.
     
  6. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Is there any way to estimate the time it will take? i.e. is there a way to figure out how large your user's mailboxes are, and from that, estimate length of completion?

    I am still running cPanel 10 on one server because I fear that the mbox to maildir conversion might take so long as to become a huge problem. :confused:

    - Scott
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    This might go some way to indicating if you have any huge email inboxes that should be cleared down before running the conversion to speed things up. There are too many factors to even guess at how long it'll take on a particular server:

    find /home/*/mail/* -name inbox -exec ls -la {} \;
     
  8. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Jonathan, that command worked FANTASTIC!! It identified quite a few LARGE mailboxes that were not even being used. My version of cPanel was setting the "default address" for Parked and Add-on domains to go into the main account, by default !!! So, catch-all mail was taking place for these add-on & parked domains without the customer even wanting that, causing large inboxes on the main account (which most customers do not use)

    Anyway, after I cleaned house, the mbox to maildir conversion went well. I wound up hiring Jonathan (see http://www.configserver.com/) to get me from cPanel 10 to 11, and of course did a fantastic job. Highly recommended!

    - Scott
     
Loading...

Share This Page