Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    6

    Default Mass Setting Mailbox Quotas

    Hi,

    A problem (for me anyway) is the x3 skin default Mailbox quota of 250MB. I am now being inundated with clients complaining THEIR mailbox is not full, why is their mail being bounced as over quota? They forget that their buddy/wife/husband.son/daughter has allowed his mail to pile up to use the full 100 Mb their 5 e-mail account package allows for disk storage.

    I am thus looking for shell script that will run from root and reset ALL mailboxes on my server to 20MB, I do not relish the thought of setting 6800 quotas one-by-one through CPanel!
    I am on a dedicated server, so my antics will affect nobody but myself and a few hundred clients

    Any help in this direction will be greatly appreciated.

    Brian
    bearwebb.com
    Zimbabwe

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by brianell View Post
    Hi,

    A problem (for me anyway) is the x3 skin default Mailbox quota of 250MB. I am now being inundated with clients complaining THEIR mailbox is not full, why is their mail being bounced as over quota? They forget that their buddy/wife/husband.son/daughter has allowed his mail to pile up to use the full 100 Mb their 5 e-mail account package allows for disk storage.

    I am thus looking for shell script that will run from root and reset ALL mailboxes on my server to 20MB, I do not relish the thought of setting 6800 quotas one-by-one through CPanel!
    I am on a dedicated server, so my antics will affect nobody but myself and a few hundred clients

    Any help in this direction will be greatly appreciated.

    Brian
    bearwebb.com
    Zimbabwe
    One idea would be to build a script that uses our APIs to do this for you. You could list all cPanel accounts on the server, then loop through each cPanel account to find all email accounts for that cPanel account and loop through those email accounts to change the quota of each mail account.

    You can find some documentation about our XML API at:

    XmlApi < AllDocumentation/AutomationIntegration < TWiki

    If you want to pursue this route, let me know and I'll assist you with the API calls.

Similar Threads & Tags
Similar threads

  1. Mass mailbox quota adjustment?
    By carock in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 11-12-2008, 10:28 AM
  2. Mailbox quotas and IMAP
    By aegis in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 09-22-2005, 08:19 PM
  3. Setting reseller privs/quotas
    By dory36 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-11-2003, 06:04 AM
  4. Override Cpanel mailbox quotas?
    By Ed123 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-02-2003, 09:42 PM
  5. setting quotas for sub-domain
    By s3kk3y in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-02-2002, 05:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube