Thus spake Gerhard Häring ([EMAIL PROTECTED]):

> What I'd like to have is a possibility to remove the spamassassin
> markup and save the message from within mutt. Removing the markup with
> a filter works with "| spamassassin -d". But how do I then save the
> filtered message? I'm using IMAP, if that matters.

In the message index, select the message and hit 'e' for edit, and at
least in vim you can hit ':' and enter this:

        %!spamassassin -d

That will filter the whole message through the spamassassin "reversal"
and put the output in its place in the edit buffer.  Then you can just
quit vim and you'll see the old message marked for deletion and a new,
un-marked-up message in the folder as well.  

Also, if you're interested, I made a small writeup about spamassassin in
general, especially in combination with procmail and mutt: 

        http://codesorcery.net/docs/spamtricks.html

I think I'll add the "reversal" trick when I get a chance :-)

-- 
Justin R. Miller <[EMAIL PROTECTED]>
View my website at http://codesorcery.net
Please encrypt email using key 0xC9C40C31

Attachment: msg21749/pgp00000.pgp
Description: PGP signature

Reply via email to