]> git.somenet.org - somenet/munin.git/blob - cron/cyrus.sh
hostapd stats script
[somenet/munin.git] / cron / cyrus.sh
1 #!/bin/sh
2
3 find /var/spool/imap/ -mindepth 3 -maxdepth 3 -type d -exec du -sb {} + | grep '/user/' | sort -nr | sed -e 's#/var/spool/imap/./##' -e 's#/#_#' > /tmp/munin_cyrus.txt
4 du -sb /var/spool/imap/s/spam | sed -e 's#/var/spool/imap/./##' >> /tmp/munin_cyrus.txt
5