> Date: Thu, 19 Sep 2002 13:42:23 -0400 (EDT)
> From: Chip Old <[EMAIL PROTECTED]>
>
> On Thu, 19 Sep 2002, Alan Brown wrote to Kenneth Porter:
>
> > find -atime is probably a better tool for this.
> > [snip]
> > A non-accessed mail file will have an old atime stamp, even if there's
> > been new mail, so tracking these is fairly easy..
>
> We run this early every morning as a cron job, on the theory that anyone
> who hasn't accessed his/her mail in 30 days isn't interested in e-mail:
>
> find /var/mail -atime +30 -print -exec rm {} \;
>
> The "-print" output causes cron to e-mail a list of the deleted mailboxes
> to root.
Sometime ago, someone supplied a pointer to 'preenmail'. That allows
you to specify a date 30, 60, 90, whatever days ago and to delete all
mail older than that date.
I found the package after some searching although I am sure the
archives still have a pointer... At least, I *think* I have the
package. What I have is about 25K uuencoded...
Regards,
gregory Hicks
>
> --
> Chip Old (Francis E. Old) E-Mail: [EMAIL PROTECTED]
> Manager, BCPL Network Services Phone: 410-887-6180
> Manager, BCPL.NET Internet Services FAX: 410-887-2091
> 320 York Road
> Towson, MD 21204 USA
>
-------------------------------------------------------------------
Gregory Hicks | Principal Systems Engineer
Cadence Design Systems | Direct: 408.576.3609
555 River Oaks Pkwy M/S 6B1 | Fax: 408.894.3400
San Jose, CA 95134 | Internet: [EMAIL PROTECTED]
"The trouble with doing anything right the first time is that nobody
appreciates how difficult it was."
When a team of dedicated individuals makes a commitment to act as
one... the sky's the limit.
"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff
You can have it done good, fast, or cheap -- pick any two.