> I don't believe it is (with Mutt).  You'd have to edit the raw message
> with a text editor.
I sometimes have had a related problem; not persistency but simply
being able to choose which command to run in order to open an
attachment. For example, I when I receive
a pdf attachment I open it with xpdf by default, but sometimes I have
to open it with acroread (for example, to see an animation). Thus, I made a
simple and maybe naive script to write out the attachment and run an
arbitary command with arbitrary extra arguments on it. I named it
muttfilter, so, for example, to open a pdf with acroread instead of my
default xpdf, I would position the cursor on the attachment and type
   | muttfilter temp.pdf acroread
Seems to work under linux. 
Regards,
Luis

---------------------------
#!/bin/bash
#to open arbitrary attachments with arbitrary commands
#Usage (from mutt attachment menu)
#      | muttfilter filename command arg1 arg2...
# (Change muttfilter to the name with which you save this file, which
# should be made executable and put somewhere in your path)
# First copy the file from STDIN to filename
cat - > $1
# Then run command with given arguments on filename
$2 ${@:3} $1
---------------------------

Reply via email to