Deleting old maildir messages, is what I'm doing OK?

Chris Green cl at isbd.net
Mon Feb 15 16:38:43 UTC 2021


On Mon, Feb 15, 2021 at 05:26:09PM +0100, Matthias Beyer wrote:
> On 15-02-2021 16:21:11, Chris Green wrote:
> > I currently have the following two lines in my crontab to delete old
> > mails in my junk catching directories
> 
> May I ask why? I mean, how many tens of GB of mail do you get each year so that
> it is necessary to delete stuff?
> 
It's more for 'good housekeeping' than saving space.  However I do
currently have 1.7Gb of mail which I *do* want saved in my mail
directories so adding a lot of unwanted stuff might add quite a bit.

Zillions of small files can make searching and stuff slow too.

I've just thought that I could rename the Ju directory at intervals
(say once a week) and then remove old ones.  It's not possible to make
this atomic though, I don't think.

-- 
Chris Green


More information about the Mutt-users mailing list