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>

This is untested but should work.

HTH,

Michael
-- 

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key

Reply via email to