Re: mutt + spamassassin

2001-12-19 Thread Justin R. Miller

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



msg21749/pgp0.pgp
Description: PGP signature


mutt + spamassassin

2001-12-18 Thread Gerhard Häring

Hi all!

I'm using procmail with spamassassin on my imap server with good
success. Most spam is filtered out.

But of course some false positives happen and I've configured
spamassassin to rewrite these messages.

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.

Gerhard
-- 
mail:   gerhard at bigfoot dot de   registered Linux user #64239
web:http://www.cs.fhm.edu/~ifw00065/OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



msg21722/pgp0.pgp
Description: PGP signature