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.

Server Wide "Mail Box Quota" change?

Discussion in 'E-mail Discussions' started by tpphost, Aug 9, 2008.

  1. tpphost

    tpphost Member

    Joined:
    Aug 3, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Michigan
    Fairly new to CPANEL and WHM.

    Currently any of our shared hosting accounts when those users login to CPANEL and go to create a new EMAIL account, it shows the "Mailbox Quota" at 250MB.

    Where do I change this default in WHM to effect that default, so it instead shows say 50MB?
     
  2. tpphost

    tpphost Member

    Joined:
    Aug 3, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Michigan
    Found a solution!

    You can change the default email quota for new accounts by editing these two files:

    /usr/local/cpanel/base/frontend/x3/mail/addpop.html
    /usr/local/cpanel/base/frontend/x3/mail/popsinclude.html

    Once you have these two files open, search their contents for "250". Change
    this value to the value you desire, save your changes and close this file. Be sure to update all other theme folders as well (i.e. same files at /usr/local/cpanel/base/frontend/THEMENAME/mail/).

    I can't find the original URL I copied this info from, so I apologize to the original author, but it worked like a charm!
     
  3. 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
    Note that changes to theme files are likely to be overwritten in future cPanel/WHM updates.

    As a result, it is generally recommended to instead copy the x3 theme and modify your copy instead and assign users to your copy of the x3 theme.
     
  4. LukeBurkhart

    LukeBurkhart Registered

    Joined:
    Jul 25, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ohio
    clarification request

    Question then for DavidG/CPanel. Is there a better way? or as you stated "...it is generally recommended to instead copy the x3 theme and modify your copy instead and assign users to your copy of the x3 theme." is this the only way to do this? As I too would like to have the ability to change the Mail Box quota Server wide as well with out having to worry about those changes being over written.
     
  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 solution I recommended is the ideal solution for the time being. A common error is modifying x3 itself to change the quota, not realizing on the next upcp, such modifications will be overwritten.
     
Loading...

Share This Page