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

 A trivial task for GNU date. Part of GNU sh-utils.

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

Reply via email to