imapdu - prints a per folder summary of disk usage on an IMAP server.
imapdu [options] server
-h, --help show help message and exit
--tls Use a secure connection (SSL)
--port PORT Port to connect to (default: 143 or 993)
--user USER IMAP username
--csv Produce CSV output
--human-readable Print sizes in human readable format
--no-human-readable
Unix/Linux:
sudo python3 setup.py install
Unix/Linux (single user):
python3 setup.py install --user --install-scripts ~/bin
Other:
python3 setup.py install