> What I don't understand is that it knows which country its relayed
> through, because it prints the rules in the "tests=" section:
> 
> X-Spam-Status: Yes, hits=21.8 tag1=-300.0 tag2=4.9 kill=4.9
>  use_bayes=1 tests=BAYES_50, BODY_ENHANCEMENT, BOTNET,
> FH_HELO_EQ_D_D_D_D, RDNS_NONE,  RELAYCOUNTRY_UK, SARE_ADULT2,
> SARE_RECV_IP_FROMIP3, URIBL_AB_SURBL, URIBL_BLACK, [....]

You are using Amavis. This is not a SA header, but an Amavis header, I
believe. Amavis adds its own headers. If you want more SA headers being
preserved, go check the Amavis docs.

This is also why the plugin works and you do get the per-country rule
hits, but don't get the SA Relay-Countries header.


> Curiously, why doesn't it print them each in a column with
> description, instead of all together?

Cause this is the Status header. The (SA) Report headers would also
report the descriptions. Just as above, if you want more or other
headers, checking your Amavis conf is what you need.


-- 
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; }}}

Reply via email to