Skip to main content

Any way to view emails over quota in whm?

Comments

4 comments

  • cPanelLauren
    There is an interface that does this, you can find it at WHM>>Account Information>Show Accounts over Quota So the best way to check for quotas using a script on cPanel machines is to use the API: uapi --user=USER Quota get_quota_info|grep -E 'limit|used'
    you could create a loop to loop through all the cPanel users on the system; some examples of this can be found here:
    0
  • frostfiretulsa
    Ill take a look at the script option, but that first WHM function you mentioned is not even close. It only shows full accounts over quota, and only those OVER quota. Not those approaching quota - and only for ACCOUNTS... not for individual email addresses under cpanel accounts (which is what I need).
    0
  • cPanelLauren
    Both of those are going to give you account quotas not email quotas - for that you'd use something like doveadm quota get -u $user
    Full text on using doveadm commands can be found here: Tools/Doveadm/Quota - Dovecot Wiki
    0
  • ffeingol
    If you have root access you may want to look at installing ConfigerServer CMM ( ConfigServer Mail Manage (cmm) ). It may take a bit to run, but you can list mailboxes with X% of their mailbox quota.
    0

Please sign in to leave a comment.