Hello mutt experts, >From the index, how can I filter a message through a shell/perl/etc. script, so that the modified message actually *replaces* the original in the mail folder?
This is sort of like <edit>, where a copy of the message is loaded into the $editor, the orignal is marked for deletion, and the new message is appended to the mail folder. This seems like a feature that would be requested/used frequently, but I can't find any mention of it in the mutt manual. Note that <pipe-message> isn't what I'm looking for, since the output of the pipe does not replace the original message. The best that I've come up with so far is to change the $editor to the filtering command, edit the file, and then reset the $editor to its original value: macro index F ':set editor="mailformat -m -t -s -c -q -i"<return>e:set editor=vi<return>' but this is obviously a hack and I'm betting there is a better solution. Thanks, Steve