Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!nrl-cmf!cmcl2!husc6!bbn!uwmcsd1!ig!agate!ucbvax!bearcat.lim.tek.COM!kevinc From: kevinc@bearcat.lim.tek.COM (Kevin Cosgrove 627-5212) Newsgroups: comp.mail.mh Subject: Re: Here's a way to expire old messages Message-ID: <820.571010155@bearcat> Date: 4 Feb 88 21:55:55 GMT References: <401@grand.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 28 Dave Yost's neat trick for expiring old messages through an 'rmm' alias and compainion script reminded me of a trick I use myself. I use draft folders, but in doing so I loose the outgoing drafts each time I send another. E.g.: +drafts/1 becomes +drafts/,1 and the next +drafts/1 overwrites +drafts/,1. From time to time people request that I resend a message for some reason. I've been keeping an +outbox for just this situation. My "components" include "Fcc: outbox" which will place a folder copy there. In order to keep my +outbox from filling up forever I added a "search and destroy" line to my ~/.logout file to clean out old outgoing messages. Below is the command to do this. =========================================================== #! /bin/csh # remove old outgoing message files, compact outgoing and incoming mail dir's # find ~/Mail/outbox -name "[0-9]*" -mtime +5 -exec /bin/rm {} \; |& mail kevinc & =========================================================== Have fun! _____________________________________________________________________________ Kevin Cosgrove Tektronix, Inc. 11K Plug-Ins Project Leader PO Box 500, M/S 47-092 LIM Product Test Engineering Beaverton, OR 97077 kevinc@bearcat.LIM.TEK.COM (503)-627-5212 _____________________________________________________________________________