On Sun, 2010-06-27 at 21:34 -0400, Alex wrote: > [...] spamassassin itself only does the scoring -- it's up to another > program, such as amavisd-new (separate application) or spamd (included > with spamassassin) to do something with the email once it has been > determined to be spam.
Nope, spamd does not do anything with the email either. As you correctly stated, SpamAssassin itself only does the scoring. Same for spamd, the SpamAssassin daemon. SA can score a message, classify based on a threshold, add headers, optionally rewrite a few select headers, or wrap the original, unaltered (spam) message in a new message. Or in short -- score, classify and report. That's it. That's what SA does. -- char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; 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; }}}