Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta CLI
  • Search

get email account quota

Questions regarding the Command Line Interface
CLI
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
zomebodi
Posts: 2
Joined: Sun Sep 01, 2019 5:03 am

Os: CentOS 6x
Web: apache
get email account quota
  • Quote

Post by zomebodi » Sun Sep 01, 2019 5:08 am

is there a way to get the account quota with cli ?
v-list-mail-accounts shows quota used, but no quota asigned.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: get email account quota
  • Quote

Post by grayfolk » Sun Sep 01, 2019 6:06 pm

zomebodi wrote: ↑
Sun Sep 01, 2019 5:08 am
is there a way to get the account quota with cli ?
v-list-mail-accounts shows quota used, but no quota asigned.
May be v-list-user?
Top

zomebodi
Posts: 2
Joined: Sun Sep 01, 2019 5:03 am

Os: CentOS 6x
Web: apache
Re: get email account quota
  • Quote

Post by zomebodi » Mon Sep 02, 2019 12:25 am

i mean, email quota asigned
Top

fedekrum
Posts: 49
Joined: Mon May 12, 2014 7:45 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: get email account quota
  • Quote

Post by fedekrum » Fri Oct 04, 2019 6:11 am

Absolutly there is a way !!!
v-list-mail-account USER DOMAIN ACCOUNT [FORMAT]
so....

If you do:

Code: Select all

v-list-mail-account dragonco dragoncompany.com info json
You will get:

Code: Select all

{
    "waves": {
        "ALIAS": "",
        "FWD": "",
        "FWD_ONLY": "no",
        "AUTOREPLY": "no",
        "QUOTA": "101",
        "U_DISK": "0",
        "SUSPENDED": "no",
        "TIME": "13:09:01",
        "DATE": "2019-03-22"
    }
}
Parse the json for "QUOTA" and there you are !
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “CLI”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password