On Wed, 2011-03-02 at 07:46 -0800, an anonymous Nabble user wrote:
> I'm sorry - there's only one line in the sample of how to write a uri rule.

I strongly suggest to read the SA docs, at the very least some intro
style rule writing guide. Depending solely on a brief third-party usage
example without any knowledge about SA rules is unlikely to work out.

> Are you saying that for each line I need to create a unique
> "LOCAL_URI_EXAMPLE" line?  In other words it should look more like this?

If I where to guess, I'd say that rule name is an *example* and not
meant to be used literally...

> uri LOCAL_URI_EXAMPLE_1 /03ysl.9hz.com/
> core LOCAL_URI_EXAMPLE_1 20

As others already have answered -- yes, the rule names must be unique.
Also, lint checking your custom rules would be very advisable.


However, maybe this whole exercise was futile anyway. What do you really
want to accomplish?

Point being, this domain and likely most (if not all) others in the list
you're basing off, are listed in URI DNSBLs. This particular one is
listed in URIBL and SURBL JP and PH. With network test enabled, SA will
score them high already.

So what is the point in this static, and likely huge, list of uri rules?


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