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.

cPanel 11 - How do I change the default email quota?

Discussion in 'E-mail Discussions' started by jols, Jul 16, 2007.

  1. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    The old cPanel (bluelagoon) defaulted the email account quota to 10MB, which was too small.
    The new cPanel (3x) defaults a new email account quota to 250MB, which is too large.

    How, can I change the default that comes up for this in v11 (3x)?
     
  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
    At this time, it appears this default is theme-dependent. That's why X (on which the deprecated Bluelagoon theme is based) has 10 MB vs. X3's 250 MB default.

    There is already a feature request in to customize this functionality that you may want to vote for:

    http://bugzilla.cpanel.net/show_bug.cgi?id=1956

    Note, according to the entry, you can modify the theme in /usr/local/cpanel/frontend/x3/ to customize this in the meantime.
     
  3. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    I get no such directory at ---> /usr/local/cpanel/frontend/x3/

    Okay, looks like it is here ---> /usr/local/cpanel/base/frontend/x3 and there are 104 files and directories in this particular location. Any idea as to which one I could change for this? I do grep 250 * and nothing comes up.
     
  4. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Nevermind I found it.

    For anyone interested, the file is here:

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


    and also possibly here:


    /usr/local/cpanel/base/frontend/x3/mail/popsinclude.html
     
  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
    You are correct, sorry I didn't catch that. Updated the bugzilla entry accordingly so others know in the future.
     
  6. eric4

    eric4 Member

    Joined:
    Oct 26, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    David,

    Do you plan to add a default email account quota setting in WHM?

    Editing this manually every few days/weeks is getting old.

    Kind regards,
    Eric
     
  7. 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
    You shouldn't need to do that if you have copied the theme into a different directory and assigned users to use that theme instead.
     
  8. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Can you point us to the step-by-step on this?

    We use the x3 theme, and the only way around this that I could determine (in order to reset the giant 250MB email box default), was to make an initial edit and then to chattr +i both the addpop.html and popsinclude.html files.

    But why not just include an option to reset the email box default using the Tweak Settings link in WHM? I can't image this would be any kind of a technical challenge for you guys?

    Are you aware that some heavily used email clients, like Outlook, tend to choke and die with hundreds of MBs of email to retrieve?
     
  9. 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
    I'd advise against chattr +i as that is generally ineffective at preventing file updates by /scripts/upcp.

    What you should do is copy /usr/local/cpanel/base/frontend/x3 to something like /usr/local/cpanel/base/frontend/my_x3. Perform your modifications to the my_x3 theme and assign all users to use that theme.

    To do that, go to WHM -> Multiple Account Functions -> Modify/Upgrade Multiple Accounts. Halfway down that page on the right, you will see a search box. Delete the contents of the text box then click "Select Matching Users" - this will select all users.

    At the bottom of the page, for Theme, select my_x3. You can safely modify my_x3 without worrying about updates. Note, enhancements to x3 will not automatically propagate to your custom theme.
     
  10. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    This is exactly what I'm concerned with when it comes to using an entire custom theme.

    Thanks for the step-by-step, very much appreciated. But in you're opinion what are the odds of cPanel.net including this very logical (and much needed) option sometime in the near future?
     
  11. eric4

    eric4 Member

    Joined:
    Oct 26, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Yes, default mailbox quota in WHM Tweak Settings is much needed.

    Kind regards,
    Eric4
     
  12. caldwell

    caldwell Member

    Joined:
    Sep 10, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    This is a MAJOR option that is missing

    I concur with the other writers. This has been a stock feature of Qmail/Vpopmail server setups for years. It's well worth the time spent on adding this in. When will it be added?
     
  13. FreedomBI

    FreedomBI Well-Known Member

    Joined:
    Jul 7, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Don't forget to vote for the bug (see above) if you want this done.
     
  14. BuffaloWeb

    BuffaloWeb Well-Known Member

    Joined:
    Jul 1, 2003
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    how about at least setting it to blank on the next build?
     
  15. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Yeah but this is a 4 year old bugzilla. So obviously cPanel.net is not interested in correcting this one.

    Also, with this most recent cPanel upgrade, it apparently does no good to edit the files we were editing before, and then locking them off from any further system updates, which was apparently our only recourse here (unless we manually edit these files on all servers virtually every single day).

    Come on guys! This one is getting downright ridiculous!

    We need a way to set up the default for the email account size in cPanel. When the default is 250MB this INVITES accounts that get absolutely log-jammed over time with huge amounts of email data.

    Why does cpanel.net continue to avoid this ever-so-important issue?
     
  16. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38

    Okay, for anyone interested in this - Here is what is apparently the only solution that works:

    Search for 250 and change it to 25 in this file:

    /usr/local/cpanel/base/frontend/x3/mail/pops.html

    Then lock the file to prevent cPanel.net from reverting this back to 250:

    chattr +i /usr/local/cpanel/base/frontend/x3/mail/pops.html

    If locking the pops.html file causes other problems, just make out a trouble ticket to cpanel.net. Perhaps this will help them to decide to finally correct this issue, who knows!?!?
     
  17. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  18. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Thanks Sawbuck, but I don't really understand your post.

    In any case, this appears to be one of those incredibly easy things that cPanel.net could fix, but for years they refuse to do something that could make life a little easier for many of us out here who have bought multiple server licenses, etc. Like all the type-os in that (now defunct) BlueLagoon interface that they did not want to correct, which nevertheless caused confusion among our hosted members.

    Remember this from the cPanel Backups tool in BlueLagoon? ---> "Backup Destination: remove FTP Server (Passive mode transfer)" That one alone caused approximately 200 support tickets here until we finally switched from BL to x2.

    And by the way, does anyone know why the heck cPanel.net insists on keeping many of the entry fields in WHM so dang small? Like for example fields within SSL/TLS ---> "Generate a SSL Certificate and Signing Request". Just due to the ever-so-short entry fields, we have mistakenly entered incomplete domains and what have you. And there are many, many, many other examples of this throughout the WHM interface. It's like a leftover from the days when everyone used CRTs that were 640 pixels wide!

    Sorry, I don't mean to stray off-topic. As good as the cPanel.net system is, there continue to be these glaring quality control oversights that would probably take all of two hours to repair (if even that), but they just continue on for years and years and years. Anyone know what is exactly up with this one?
     
  19. eric4

    eric4 Member

    Joined:
    Oct 26, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel email quota hard-coded 250 MB

    Problem: cPanel x3 POP3 email quota is hard-coded to 250 MB

    Solution: Manually edit the 250 quota in …

    /usr/local/cpanel/base/frontend/x3/mail/

    - addpop.html
    - pop.html
    - popsinclude.html

    Unfortunately, the quota gets over written with most cPanel updates.

    Please vote Bugzilla Bug#1956 to resolve this longstanding issue.
    Bug 1956 - Default Mail Account Quota per Package

    cPanel 11.25.0-R42399
    WHM 11.25.0 - X 3.9
     
  20. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Yeah, well I have done this, and this is close to a FIVE YEAR OLD bugzilla. So you got some other idea?
     
Loading...

Share This Page