<<< Date Index >>>     <<< Thread Index >>>

Trash folder



I am trying to use some folder hooks to create a move-to-trash setup
with mutt (1.5.15). However, I only want two of my many folders to work
with this. Here is what 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>'

It works, but too well. It seems to ignore that I only want it to copy
when in INBOX and INBOX.Work. However, it is using the setup in ALL
folders. Any suggestions?

-- 
  Matthew Daubenspeck
  http://oddprocess.org

Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165
09:42:49 up 70 days, 23:30, 1 user, load average: 0.05, 0.02, 0.00