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

Re: only keep last week's mail



* Pablo Hoertner <pablo@xxxxxx> [2003-10-21 14:22 +0200]:

I can't find your other mail.

> Date: Sat, 18 Oct 2003 02:24:40 +0200
> From: Pablo Hoertner <pablo@xxxxxx>
> To: Mutt User List <mutt-users@xxxxxxxx>
> Subject: delete everything except last week's mail
> 
> does anyone know a how to do this? is there some kind of tiny hack 
> needed or does there exist a preset macro in mutt-default (debian)?

Yes. No. Don't know.

> and: how do i tag-all (mail, attachment etc.)?

I don't understand this one.

> i use imap and just want to keep last week's or last month's mail. if 
> possible, it would be nice to keep older threads, too, but this might be 
> difficult and isn't really necessary ...

Read the archive, look in the manual for <delete-pattern> and
Patterns. Perhaps you'll need a folder-hook.

Nicolas