On Tue, 26 Feb 2002, Michael Tatge wrote: > Knute muttered: > > I have some mbox-hooks set up that move read mail into archive files. > > What I wanted to do was to leave messages that I've read from the past > > few days in the current mailbox, and have them moved after a certain > > amount of time. I tried setting it up, but they aren't working. > > > > One of the hooks is: > > mbox-hook '=mutt ~r>2d' ~/Mail/mutt.gz
> 3.10 Using Multiple spool mailboxes > Usage: mbox-hook [!]pattern mailbox > [...] pattern is a regular expression specifying the mailbox to treat as > a ``spool'' mailbox > So the answer is: You can't do that, well not with mbox-hooks at least. > folder-hooks or a macro might work. > macro index <f2> <tag-pattern>~r>2d<enter><tag-prefix>\ > <save-message>~/Mail/mutt.gz<enter><sync-mailbox> So a folder-hook would be set up almost the same way then? > This is untested but should work. > HTH, Thanks > Michael
msg24814/pgp00000.pgp
Description: PGP signature