Xref: utzoo comp.unix.questions:27115 comp.unix.admin:583 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!warp.Eng.Sun.COM!rock From: rock@warp.Eng.Sun.COM (Bill Petro) Newsgroups: comp.unix.questions,comp.unix.admin Subject: Re: Aging Mail Message-ID: <3426@exodus.Eng.Sun.COM> Date: 26 Nov 90 23:28:33 GMT References: <11872@hubcap.clemson.edu> Sender: news@exodus.Eng.Sun.COM Followup-To: comp.unix.questions Lines: 29 bo@hubcap.clemson.edu (Bo Slaughter) writes: >I'm looking for a program that will "age" mail. For example, that will >look in /var/spool/mail/*, and if a user has mail older than X days, >will delete those messages (leaving the newer ones). >Is such a program out there? >Bo Slaughter >-- >+--------------------------------------------------------------+ >| Bo Slaughter bo@gumby.eng.clemson.edu | >| (803)656-2721 "I'm gumby.eng.clemson.edu dammit." | >+--------------------------------------------------------------+ MUSH, the Mail User SHell, does many things, including sort and pick by many various styles. It then allows you to pipe the results, of a "pick" of all files older than X (say 10) days, and delete them. Available via anonymous ftp from: cse.ogi.edu You can find it in: pub/mush/mush-7.2.0.tar.Z -- Bill Petro {decwrl,hplabs,ucbvax}!sun!Eng!rock "UNIX for the sake of the kingdom of heaven" Matthew 19:12