On Monday, 30 August 2010, 17:39:44 -0700, Chip Camden <sterl...@camdensoftware.com> wrote: > Quoth fe...@crowfix.com on Monday, 30 August 2010: > > Is there a way to assign an external command to a key which will be > > passed the path to the message? For instance, if I write a dumb > > little shell script to move a message into the spam maildir ... > > > > #!/bin/sh > > mv -i "$@" ~/Maildirs/junk/new
> If you just want to move the message, use <save-message>. But you can > always define a macro that pipes the message to a script, and then you > can do whatever you want with it. I don't think you can get the name of the file in your maildir, but you can use <save-message>, or <pipe-message> followed by <delete-message> in a macro. Quite obvious, but I wanted E Prom to respond to Chip ;)