On 28 Sep 2010, at 17:02, fe...@crowfix.com wrote: > The only real drawback to this is that now that I have discovered > sidebar and the amazing things which mutt's commands can do, I think > there must be something better than running this special mutt wrapper > script to do these steps. I'd like to have mutt recognize that I am > visiting the spam dir and do these steps for me. If it could run pre- > and post-read commands, that would be most of the trick, but it would > also have to change the name of the maildir to the temp spam mail and > leave the real spam maildir alone.
If I've understood you, I think mbox-hook (and possibly folder hooks and set move) will do what you want, without running external commands. -- Mike ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________