On Wednesday, Sep 05, 2001, Christoph Maurer wrote:

> Is there a way to execute a command when opening a mailbox?
> E.g. I want to tag all messages older than one week when opening my
> mailbox "inbox".
> 
> I tried 
> folder-hook inbox "exec T ~d>1w" and
> folder-hook inbox exec tag-pattern ~d>1w"

This is what I use (I can tag messages older than 2 weeks except the
ones that I have flagged as 'important').

folder-hook =mutt-users 'push T~r>2w!~F\n\;'            # 2 weeks

-- 
Paul Cox <paul at coxcentral dot com>
Kernel: 2.4.7-12.3mdk  -  Uptime: 15 days 12 hours 27 minutes.

Reply via email to