On Wed, Dec 05, 2012 at 02:01:13PM -0600, Howard White wrote: > So my predecessor set up our customer systems with background jobs > writing results to local mail, /var/spool/mail/whomever. Just found > one such system whereon the /var partition was nearly full. Is > there a "logrotate" like utility to cull old stuff out of mail > files, like on say a days-old factor or some such?
Try the mboxpurge.pl script from http://terminal.se/code.html - it should do what you want based on date spec. John -- The First Law of Holes: "It is a good thing to follow the First Law of Holes: if you are in one, stop digging." - Denis Healy
pgpvvqUIXQdFe.pgp
Description: PGP signature
