Should anyone ask, it's time to turn on spool expiry

Ever wondered what 862M of spam smells like? As you can see from this output some users are not cleaning out their spam folders:


du -hs /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/*/user/*/x-spam
376K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/a/user/alephone/x-spam
9.8M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/a/user/alex/x-spam
56K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/a/user/alistair/x-spam
148K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/b/user/bjb/x-spam
64K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/d/user/dangeross/x-spam
9.4M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/d/user/david/x-spam
250M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/d/user/dragon/x-spam
355M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/e/user/emberglow/x-spam
366M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/f/user/frank/x-spam
12M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/h/user/heather/x-spam
25M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/h/user/helen/x-spam
112K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/i/user/ivan/x-spam
194M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/j/user/james/x-spam
719M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/j/user/jason/x-spam
16K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/j/user/jenny/x-spam
12M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/j/user/joanna/x-spam
172M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/j/user/jonathan/x-spam
16K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/j/user/julie/x-spam
5.5M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/k/user/ken/x-spam
9.5M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/m/user/maggie/x-spam
698M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/m/user/manch/x-spam
328M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/m/user/matthew/x-spam
60K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/m/user/mattj/x-spam
235M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/m/user/matt/x-spam
92K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/m/user/mea/x-spam
236K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/m/user/mile/x-spam
65M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/m/user/monty/x-spam
164K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/n/user/nayetennant/x-spam
488K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/n/user/naye/x-spam
1.8M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/n/user/nick/x-spam
16K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/n/user/nid/x-spam
1.4M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/p/user/penchick/x-spam
5.3M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/r/user/ralphael/x-spam
418M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/r/user/rgkx/x-spam
1.2G /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/r/user/robert/x-spam
26M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/r/user/rob/x-spam
28K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/r/user/rslomkow/x-spam
15M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/r/user/ryan/x-spam
193M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/s/user/sgibson/x-spam
7.8M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/s/user/shelly/x-spam
39M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/s/user/simon/x-spam
652M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/s/user/stuart/x-spam
28K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/t/user/tam/x-spam
862M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/t/user/thomas/x-spam
119M /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/t/user/tim/x-spam
232K /mnt/vault/backups/cave.imaginator.com/var/spool/cyrus/mail/z/user/zax0r/x-spam


Thankfully Cyrus, the mailserver I use, has an option to expire messages older than a certain time. I’ll turn on expiry of spam messages older than 30 days.

Related Articles

search

Powered by Blogger.

Follow by Email

Should anyone ask, on building strong teams

My thinking about building strong teams My work goal is: work with smart people, on interesting problems, that improve our lives. So I start...