Re: folder hook: delete old messages [solved]
On Sun, Nov 11, 2007 at 07:56:00PM -0800, Michael Elkins wrote......
> On Sun, Nov 11, 2007 at 06:52:12PM -0500, Kevin Coyner wrote:
> > For the longest time I successfully used a folder hook like
> > this:
> >
> > folder-hook =mutt-users "push '<delete-pattern>~r>5d!~F<enter>'"
>
> Have you verified that the macro works properly if you perform it
> manually?
Got it working now ... here's what works:
folder-hook mutt-users 'push <delete-pattern>~r>5d!~F<enter>'
Note small differences in the quoting.
Also note that on some of my folders I had something like:
folder-hook list/abc 'push <delete-pattern>~r>5d!~F<enter>'
but to get it to work I had to change the slash to a period in the
folder name like this:
folder-hook list.abc 'push <delete-pattern>~r>5d!~F<enter>'
--
Kevin Coyner GnuPG key: 1024D/8CE11941