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.
--
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