get email account quota
get email account quota
is there a way to get the account quota with cli ?
v-list-mail-accounts shows quota used, but no quota asigned.
v-list-mail-accounts shows quota used, but no quota asigned.
Re: get email account quota
i mean, email quota asigned
Re: get email account quota
Absolutly there is a way !!!
v-list-mail-account USER DOMAIN ACCOUNT [FORMAT]
so....
If you do:
You will get:
Parse the json for "QUOTA" and there you are !
v-list-mail-account USER DOMAIN ACCOUNT [FORMAT]
so....
If you do:
Code: Select all
v-list-mail-account dragonco dragoncompany.com info json
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"
}
}