On Tue, 27 May 2003, Wakko Warner wrote:
> I just read the spec and there's something I'd like exim to beable to do.
>
> I've been looking at RBLs and notice some use different A records depending
> on the type of block they do. Most of the ones I come across I'd like to
> block all but 1 type. For instance:
> dnslists = dnsbl.sorbs.net!=127.0.0.8
>
> What do others thing of this? (I'm willing to code it if I can understand
> the code well enough)
I can see this getting complicated.
From the bottom of
http://www.dnsbl.sorbs.net/using.html
dnsbl.sorbs.net returns multiple "ip addresses" if the entry
is in more than one database. 127.0.0.8 should indicate
that the machine is not in any other sorbs database (since it
indicates that they don't test the host at all) but
I can see the logic getting convoluted if you wished to combine
and negate queries with multiple replies.
I use
dnslists = rbl-plus.mail-abuse.ja.net=
127.1.0.2,127.1.0.3,127.1.0.6,127.1.0.7
which might be clearer when written as
dnslists = (rbl-plus.mail-abuse.ja.net & !(0.0.0.5))
= 127.1.0.2
I don't really fancy designing a language which allows that,
and parsing it would probably be so slow that I'd stick with the
language we use at the moment.
----
New thought:
What does
dnslists = !dnsbl.sorbs.net=127.0.0.8 : dnsbl.sorbs.net
do ?
--
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
A.C.Aitchison@??? http://www.dpmms.cam.ac.uk/~werdna