Plesk 8.2.1 Shell Commands · Sunday December 30, 2007

# Start/Stop Qmail
service qmail stop
service qmail start
service qmail status

# View Qmail log file
tail -f /usr/local/psa/var/log/maillog

# Rebuild Qmail configuration files
/usr/local/psa/admin/sbin/mchk -v

# View Qmail mailbox locations in Plesk
cd /var/qmail/mailnames/

# List the total size of all mailboxes
cd /var/qmail/mailnames/; du -h --summarize

# List the size of each mailbox, shown under its domain
cd /var/qmail/mailnames/; du -h --max-depth=2

— Ryan J. Bonnell

---