Le lundi 25 Juillet 2005 01:05, jdow a écrit : > christophe, you DO know that "cat spam" merely prints out your raw > spam file so it should not have any markup in it. > If you want to view a permanent marked up file you need to run: > spamc < spam >spam_marked_up > Or something like that. Remember that spamc takes stdin, filters, and > feeds back out stdout. So "spamc <spam" is not saving anything to the > "spam" file.
OK thanks jdow and Theo. I am sorry to be so naive but i thought that inserting a line like : add_header spam Flag _YESNOCAPS_ in the /etc/mail/spamassassin/local.cf file would say to spamc to insert the proper flag in the spam file. Actually this is what i need spamc to do so that kmail (my mail client) treats the spam properly. As i read to do so in many tutorials on the internet, i put 2 filters : - 1st one is applying spamc on every mail < 250kB - 2nd one is detecting the presence of X-Spam-Flag: YES in a message So i do _need_ spamc to insert this flag in the message. But the problem is that in kmail(1.7.1) i don't know the name of the command 'spamc < spam > spam_marked_up' will not work. I read kmail documentation, and whatever i do it doesn't get this output. Now it's a kmail problem. Thanks for your help. -- Christophe
pgp9Oay0a1x1W.pgp
Description: PGP signature