<<< Date Index >>>     <<< Thread Index >>>

Re: delete mail from mailbox if over 300 or older than 80 days



* luke@xxxxxxxxxxxxxxx [2004-10-27 13:25 +0930]:
> I'd like to set it up so that: if there are more than 300 messages in a 
> mailbox, delete those that are oldest (probably 300+ depending on how they 
> are sorted).

untested:
D~m 300-
Of course the mails have to be sorted correctly (oldest last).

> I'd like to delete messages that are older than (now-80days).

untested:
D~r>80d

> Is there an easy way to do this with mutt internally?

Yes.

Nicolas