On Tue, 2011-10-18 at 12:51 +0100, Martin Gregorie wrote: > I've just been thinking about URIBL lookups, etc and realising that I > don't know how many of these an SA configuration does or how to estimate > it. > > Is it correct to assume that every configured URIBL is sent a single > lookup request for every message that SA scans?
No. This message has no URIs, thus no lookup. Furthermore, since the BL lookups are DNS, each URI needs a lookup of its own. The only thing safe to assume is, that with multiple aggregated lists (or listings) per URI DNSBL, there is one DNS lookup per URI and DNSBL -- e.g. SURBL (multiple lists) or URIBL (multiple listings). -- 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; }}}