Not long ago (exactly Tue, 12 Oct 1999) Larry Fletcher wrote:

> Is there any way to expire messages in selected folders similar to
> the way messages in newsgroups are expired?  Or to limit the number
> of messages a folder will hold, so when new messages are added old
> messages scroll off?
> 
>   Larry Fletcher
>   Redondo Beach, CA USA

Hi all,

this is just another addition to the other solutions :-)
Perhaps using "folder-hooks" would also be an appropriate solution for
you. In my case it is the perfect way. 
I use the following:

folder-hook =trash 'push T~r>2w!~F\n\;<delete>\x'

This one deletes all mails older than 2 weeks when entering the
trash-folder. 
Or:

folder-hook =lists/mutt 'push T~r>2w!~F\n\;s=lists/mutt_backup\n\x'

This one saves 2week old mails from mutt-users to mutt_backup.

Greetings

Dirk

Reply via email to