Re: [Exim] Custom MAPS for RBL

Etusivu
Poista viesti
Vastaa
Lähettäjä: Łukasz Grochal
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] Custom MAPS for RBL
"Ed Zimmermann" <edz@???> writes:

> I see that according the the documentation I can create my own MAPS!
> Cool - But I can't find how to do it.


I believe an example will be much more useful than an explanation, so here
goes one. This is the zone file for dul.maps.vix.com (a dial-up list):

//-----
$ORIGIN maps.vix.com.
dul     300     IN      SOA     maps1.pa.vix.com. dul.mail-abuse.org. (
                973642140 600 300 604800 300 )
        518400  IN      NS      ns-ext.vix.com.
        518400  IN      NS      ns.eu.net.
        518400  IN      NS      max.bungi.com.
        518400  IN      NS      ns3.above.net.
        518400  IN      NS      auth2.dns.gxn.net.
        518400  IN      NS      nn.uninett.no.
        518400  IN      NS      freesbee.wheel.dk.
        518400  IN      NS      bifrost.seastrom.com.
        300     IN      MX      5 mail-abuse.org.
        300     IN      TXT     "Copyright 2000 Mail Abuse Prevention System, LL
C."


$ORIGIN 66.66.127.dul.maps.vix.com.
66      300     IN      TXT     "See <URL:http://mail-abuse.org/dul/>"
        300     IN      A       127.0.0.3
//-----


So - as you can see, this is just another DNS zone. To create a custom one
you just invent a name, say maps.mydomain.com and set SOA, NS and MX stuff
for it - just as above. Then you just reverse IP addresses of the hosts you
want to blackhole and add A (and, which is encouraged, TXT records) for them.
As a simple example - should you want to blackhole my humble primary MX
which is skipper.rmf.pl, 195.117.15.34, you would simply add a line like:

34.15.117.195   IN      A       127.0.0.4
34.15.117.195   IN      TXT     "I don't like this guy."


to zone file. That's it. I guess :)

--
Łukasz Grochal, network administrator
Radio Muzyka Fakty, Sp. z o.o. al. Waszyngtona 1, 30-204 Kraków
tel., fax: +48 12 4252625 e-mail: l.grochal@???