[comp.soft-sys.andrew] Auto-cleaning of AMS folders?

mckay@harbor.ecn.purdue.edu (Dwight D. McKay) (10/11/90)

I'm considering switching over to ams for my mail reader.

Is there a way to automatically clean out mail messages older then a
certain age from ams folders?

I currently do this using a program I've written which handles MH style
folders and /usr/ucb/mail style folders.  It reads a control file to
determine the "age" for various folders and a default age for folders
not listed in the control file.  Empty folders are removed.

What's a good way to do this for ams?  Is there an "already built" ams
tool which can do this?

--Dwight D. McKay, ECN Workstation Software Support
--Purdue University, Engineering Computer Network
--Office: MSEE 104f, Phone: (317) 494-3561
--mckay@harbor.ecn.purdue.edu --or-- ...rutgers!pur-ee!mckay

dd26+@andrew.cmu.edu ("Douglas F. DeJulio") (10/11/90)

mckay@harbor.ecn.purdue.edu (Dwight D. McKay) writes:
> Is there a way to automatically clean out mail messages older then a
> certain age from ams folders?

The cui 'epoch' command does this for entire trees of message folders.

nsb@thumper.bellcore.com (Nathaniel Borenstein) (10/11/90)

You can do this using the "epoch" command in the CUI interface.   If you
want to have it happen regularly and automatically, it is pretty easy to
write a cron or at job to do this -- that's how those of us who run
AMS-based bboard systems run purge jobs, and it will work equally well
for personal mail.  -- Nathaniel