On Oct 15, 1999, David DeSimone wrote:
> Mikko Hänninen <[EMAIL PROTECTED]> wrote:
> >
> > > > Or to limit the number of messages a folder will hold, so when new
> > > > messages are added old messages scroll off?
> >
> > If the messages are saved in the folder with a filtering program
> > such as procmail or maildrop, it might be possible to create a
> > folder-injection program that ensures this
>
> If using maildir format folders, one could easily create a cron job that
> counts how many messages are in the folder, and then deletes the oldest
> of them, based on timestamps.
This sounds interesting. I wonder if there's an easy way to calculate
the current date minus a number of days and then delete all the files
in a directory that are older or equal to that date. It looks like I'll
have to do some reading.
Thanks!
Larry