* Eric Blau <[EMAIL PROTECTED]> [2002-08-17 11:16 -0400]:
> I am having a problem getting a folder-hook working properly.  I have
> the following folder-hook in my muttrc file:
> 
> folder-hook =INBOX 'push T~r>1m\n\;s=archive/INBOX\n'
> 
> I want mutt to automatically move mail older than 1 month from my
> Maildir-format INBOX into an archive mbox-format INBOX.
> 
> This folder hook seems to be working nicely except that mutt always
> moves the last message in my INBOX into the archive INBOX, even though
> the message should not match ~r>1m.  Every time I start up mutt, the
> folder-hook always moves the last message over to the archive box.
> 
> Any ideas why this is happening?  Should I send a flea?

That's the way <tag-prefix> works. If there are no tagged messages, it
fails, and the rest of your macro continues. You can find one possible
solution on my homepage.

Nicolas

Reply via email to