Plesk, QMail, list mailboxes by size.

To display the top 25 mailboxes by size type the following in the terminal

cd /var/qmail/mailnames

du -hs --block-size=1024K */* | sort -nr | head -25

To get the same results emailed to yourself run the following in a script, add it to cron for scheduled emails.

cd /var/qmail/mailnames

du -hs --block-size=1024K */* | sort -nr | head -25 | mail -s 'Top 25 Mailboxes by Size'

Thanks to

Print Friendly, PDF & Email

More Like This


CentOS Linux Plesk Web Hosting


  • Post a comment