Re: Trash folder
On Sat, Apr 14, 2007 at 04:22:11PM +0200, Nicolas Rachinsky wrote:
> * Matthew Daubenspeck <matt@xxxxxxxxxxxxxx> [2007-04-14 09:48 -0400]:
> > folder-hook =INBOX 'macro index d "<save-message>=INBOX.Trash<enter>"'
>
> This hook is applied to all folders that contain =INBOX.
>
> > when in INBOX and INBOX.Work. However, it is using the setup in ALL
> > folders. Any suggestions?
>
> Add $ at the end of the mailboxname.
I must have the syntax wrong, as I tried that and it makes no
difference:
folder-hook =INBOX.$ 'macro index d "<save-message>=INBOX.Trash<enter>"'
folder-hook =INBOX.Work$ 'macro index d "<save-message>=INBOX.Trash<enter>"'
folder-hook =INBOX.Trash$ 'macro index d <delete-message>'
And I have tried:
folder-hook =INBOX$ 'macro index d "<save-message>=INBOX.Trash<enter>"'
folder-hook =INBOX.Work$ 'macro index d "<save-message>=INBOX.Trash<enter>"'
folder-hook =INBOX.Trash$ 'macro index d <delete-message>'
--
Matthew Daubenspeck
http://oddprocess.org
Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165
10:53:57 up 71 days, 41 min, 1 user, load average: 0.00, 0.00, 0.00