[Postfixbuch-users] check_sender_mx_access mit cidr

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Mi Nov 30 11:15:51 CET 2005


* Jim Knuth <jk at jkart.de>:

> mmh, das versteh ich nicht. Ich hab z.Zt. ein File
> 
> --snip
> 0.0.0.0/8               REJECT IP address of MX host is a bogus address
> 127.0.0.0/8             REJECT IP address of MX host is a loopback address
> 224.0.0.0/12            REJECT IP address of MX host is a multicast address
> 255.0.0.0/8             REJECT IP address of MX host is a bogus address
> 10.0.0.0/8              REJECT IP address of MX host is a RFC1918 address
> 169.254.0.0/16          REJECT IP address of MX host is a RFC1918 address
> 192.0.2.0/24            REJECT IP address of MX host is a RFC1918 address
> 240.0.0.0/12            REJECT IP address of MX host is a reserved address
> 
> 195.7.77.20             REJECT IP address of MX host is a wild-card .museum
> 69.25.75.72             REJECT IP address of MX host is a wild-card .nu
> 212.181.91.6            REJECT IP address of MX host is a wild-card .nu
> 194.205.62.62           REJECT IP address of MX host is a wild-card .sh
> 216.35.187.246          REJECT IP address of MX host is a wild-card .ws
> --snap
> 
> das per check_sender_mx_access cidr:/etc/postfix/bogon_networks.cidr
> "abgearbeitet" wird. Jetzt dacht ich, ich leg die IPs und das
> REJECT in MySQL und gut. ??

Ja, aber halt in der Form
0.0.0.0/8 -> 0 REJECT
127.0.0.0/8 -> 127 REJECT
169.254.0.0/16 -> 169.254 REJECT
usw.
du musst das alles umrechnen auf Class A, B und C blöcke

-- 
Ralf Hildebrandt (Ralf.Hildebrandt at charite.de)          spamtrap at charite.de
Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
http://www.postfix-buch.com
Why you can't find your system administrators:
You *are* the system administrator 



Mehr Informationen über die Mailingliste Postfixbuch-users