File greylistd-0.8.3.2-whitelist_for_exim.patch of Package greylistd

make whitelist parsable by exim, by using proper IP addresses with optional netmask width
poeml@cmdline.net

diff -uNr greylistd-0.8.3.2.orig/config/whitelist-hosts greylistd-0.8.3.2/config/whitelist-hosts
--- greylistd-0.8.3.2.orig/config/whitelist-hosts	2004-12-14 13:41:47.000000000 +0100
+++ greylistd-0.8.3.2/config/whitelist-hosts	2006-11-29 10:23:50.000000000 +0100
@@ -60,24 +60,9 @@
 #   VALUES ('127.0.0.1', '9999-12-31 23:59:59', NOW());
 
 127.0.0.1       # Of course we don't want to delay ourselves or local users
-192.168         # Don't delay our private networks either
-10              # Private net (class A)
-172.16          # Another private net (inidividual entries, since can't
-172.17          #   do a /12 netmask easily
-172.18
-172.19
-172.20
-172.21
-172.22
-172.23
-172.24
-172.25
-172.26
-172.27
-172.28
-172.29
-172.30
-172.31
+192.168.0.0/24  # Don't delay our private networks either
+10.0.0.0/8      # Private net (class A)
+172.16.0.0/12   # Another private net
 
 # Public Servers
 
@@ -87,28 +72,28 @@
 12.107.209.250  # sourceware.org mailing lists (high traffic, unique sender per mail)
 63.82.37.110	# SLmail
 64.7.153.18     # sentex.ca (common pool)
-64.12.137       # AOL (common pool) - http://postmaster.aol.com/servers/imo.html
-64.12.138       # AOL (common pool)
+64.12.137.0/24  # AOL (common pool) - http://postmaster.aol.com/servers/imo.html
+64.12.138.0/24  # AOL (common pool)
 64.124.204.39	# moveon.org (unique sender per attempt)
 64.125.132.254  # collab.net (unique sender per attempt)
 #64.233.170	# gmail (common server pool)
 #65.82.241.160	# Groupwise?
 #66.94.237	# Yahoo Groups?
 66.100.210.82	# Groupwise?
-66.135.209      # Ebay (for time critical alerts)
-66.135.197      # Ebay (common pool)
+66.135.209.0/24 # Ebay (for time critical alerts)
+66.135.197.0/24 # Ebay (common pool)
 66.162.216.166	# Groupwise?
 66.206.22.82	# PLEXOR
 66.206.22.83	# PLEXOR
 66.206.22.84	# PLEXOR
 66.206.22.85	# PLEXOR
-66.218.66       # Yahoo Groups servers (common pool, no retry)
-66.218.67       # Yahoo Groups servers (common pool, no retry)
-66.218.69       # Yahoo Groups servers (common pool, no retry)
+66.218.66.0/24  # Yahoo Groups servers (common pool, no retry)
+66.218.67.0/24  # Yahoo Groups servers (common pool, no retry)
+66.218.69.0/24  # Yahoo Groups servers (common pool, no retry)
 66.27.51.218	# ljbtc.com (Groupwise)
 #66.89.73.101	# Groupwise?
 #68.15.115.88	# Groupwise?
-152.163.225     # AOL (common pool)
+152.163.225.0/24# AOL (common pool)
 194.245.101.88	# Joker.com (email forwarding server)
 195.235.39.19	# Tid InfoMail Exchanger v2.20
 195.238.2.105   # skynet.be (wierd retry pattern)
@@ -122,17 +107,17 @@
 205.188.144.207	# AOL (common pool)
 205.188.144.208	# AOL (common pool)
 205.188.156.66	# AOL (common pool)
-205.188.157	# AOL (common pool)
+205.188.157.0/24# AOL (common pool)
 205.188.159.7	# AOL (common pool)
-205.206.231	# SecurityFocus.com (unique sender per attempt)
+205.206.231.0/24# SecurityFocus.com (unique sender per attempt)
 205.211.164.50	# sentex.ca (common pool)
-207.115.63	# Prodigy (broken software that retries continually with no delay)
-207.171.168	# Amazon.com (common pool)
-207.171.180	# Amazon.com (common pool)
-207.171.187	# Amazon.com (common pool)
-207.171.188	# Amazon.com (common pool)
-207.171.190	# Amazon.com (common pool)
-211.29.132	# optusnet.com.au (wierd retry pattern and more than 48hrs)
+207.115.63.0/24 # Prodigy (broken software that retries continually with no delay)
+207.171.168.0/24# Amazon.com (common pool)
+207.171.180.0/24# Amazon.com (common pool)
+207.171.187.0/24# Amazon.com (common pool)
+207.171.188.0/24# Amazon.com (common pool)
+207.171.190.0/24# Amazon.com (common pool)
+211.29.132.0/24 # optusnet.com.au (wierd retry pattern and more than 48hrs)
 213.136.52.31	# Mysql.com (unique sender)
 #216.136.226.0	# Yahoo Mail?
 #216.157.204.5	# Groupwise?
openSUSE Build Service is sponsored by