> I have a cpanel hosting account with spamassassin where you only have 3 > options on the SA page. I can enable SA, enable a spam box, and then > another button to edit the user_prefs file. > > It works fine when I have spam box enabled but when I disabled the spam > box the spam that used to go to the spam box is delivered into the > inbox. It shows that the messages are over the required number of hits > but they are being delivered instead of deleted. > > Any ideas on what I did wrong or to make it work?
This is not a SA issue. SA is not designed to delete or deliver mail (to a SPAM box). It is designed to scan and identify SPAM only. Any action taken (like delivering or deleting) based on SA's judgement is another apps duty. As you said, the SA headers are added even if 'moving to the SPAM box' is disabled. That's fine as it just means you are not stuck with the default SPAM box but you can sort (move, delete, archive, whatever) any mails based on the SA score on your local end. ...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; }}}