On 24 Dec 2017, at 13:50 (-0500), Roger Sheen wrote:

Is there a way to query it from the command line,

Sure. It's not exactly simple:

printf "1 AUTHENTICATE PLAIN $(printf '\0[username]\0[password]' | base64 )\n2 GETQUOTAROOT . \n3 logout\n" | openssl s_client -quiet -connect [imapservername]:993 2>&1 |grep '^\* QUOTA '

(replace the [] placeholders with your details)

That will spit out something like :

* QUOTA "User quota" (STORAGE 1616791 10485760)

Indicating that in this case I am using ~1.6GB of my 10GB quota.

--
Bill Cole
[email protected] or [email protected]
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steady Work: https://linkedin.com/in/billcole
_______________________________________________
mailmate mailing list
[email protected]
https://lists.freron.com/listinfo/mailmate

Reply via email to