> I am trying to move my email usage to Evolution from Kmail. I need some help 
> to get Spamassassin working. In Kmail I used to filters to trap spam. One 
> filter limited the email to a max of 250000 kb and piped the email through 
> Spamassassin. The second filter checked the X-Spam-Flag and if it was set to 
> Yes moved the mail to the Spam folder. I have been able to get the first 
> filter written, but cannot figure out the second one. Can some one tell me 
> how to get Spamassassin working in Evolution?

This is not possible using the filters.

The point is, you can pipe a whole message including headers to another
program, but there is no way Evolution will retrieve the changed message
-- what SA does and what you are trying to check with the X-Spam-Flag:
header. You can only pay attention to the return value of the program.


Use the filter mentioned by Tim and Bram to check return value.

To use the X-Spam-*: headers more fine grained, you will need procmail
as Dan mentioned. Don't forget about fetchmail then... ;)

...guenther


-- 
char *t="[EMAIL PROTECTED]";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

_______________________________________________
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to