On Fri, 2014-07-18 at 22:59 +0200, Adi wrote:
> 1. User set in table userpref variable: kill_spam_score = 17
>    (this is not required_hits = mark and move to .SPAM folder)
>    Any user can set different value.
> 
> 2. In Spamassassin I need compare if _SCORE_ > kill_spam_score
>    then add header X_Spam_Remove  or X_Spam_Kill

Adding a custom header (or any action for that matter) depending on the
overall score requires writing a custom plugin.


> 3. In exim make router that check if X_Spam_Kill exists and
>    move mail to /dev/null.

As Matus already mentioned, don't plain drop it. SMTP reject is proper
handling.


-- 
char *t="\10pse\0r\0dtu\0.@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; }}}

Reply via email to