Re: [Exim] dnslists acl wishlist

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Wakko Warner
Fecha:  
A: Dr Andrew C Aitchison
Cc: exim-users
Asunto: Re: [Exim] dnslists acl wishlist
> >From the bottom of http://www.dnsbl.sorbs.net/using.html
> dnsbl.sorbs.net returns multiple "ip addresses" if the entry


Yes, as does list.dsbl.org (or was it dnsbl.njabl.org?)

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


I wouldn't like the above idea either. It would make things more annoying
to maintain. I was thinking of in the code checking for the existance of !
immediately before the = and then if the host *IS* on the list and the IP is
not on the given list, it's ok. Not exactly like an Exim list, but for me,
it would work.

> ----
> New thought:
>
> What does
>     dnslists = !dnsbl.sorbs.net=127.0.0.8 : dnsbl.sorbs.net


I'd have to write that as:
    !dnslists = dnsbl.sorbs.net=127.0.0.8
    dnslists = dnsbl.sorbs.net


As phil already stated, dnslists isn't an exim style list.

--
Lab tests show that use of micro$oft causes cancer in lab animals