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.

Updating max email account quotas

Discussion in 'E-mail Discussions' started by waterman34, Jan 1, 2015.

  1. waterman34

    waterman34 Registered

    Joined:
    Dec 29, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi

    Is there a way to globally update all existing email accounts quotas in WHM from default 250mg to 500mb?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The following option under the "Mail" tab within "WHM >> Server Configuration >> Tweak Settings" will allow you to change the default value:

    "Default user-defined quota value for new email accounts"

    Remember to ensure the option below it called "Default quota option for new email accounts" is set to "User-defined". Note that you have to change the quota for existing email accounts manually or utilize our API to develop a script that finds all email accounts and changes their quotas.

    Thank you.
     
  3. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello guys, I'm in the same boat, having to find all email accounts and change their quota.
    Can you point out to some script to do that as I'm not familiar with the API. I bet it must be just a loop and a couple commands, right?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page