On Thu, 20 Jul 2006, Evil Ernie wrote: > I'm trying to reject certain connections based upon the IP range they're in. > > Most of the time it works fine. But I'm still seeing email being delivered > despite the range being listed there.
Do you have any accept clauses before the deny clause? > Is there a more efficent method of comparing IP's to ranges or is there some > other problem/solution? You can use the net24- prefix on a search type keyword (e.g. net24-dbm is mentioned in the spec) if all your ranges are the same size. It gets painful if they have variables sizes. Tony. -- <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> http://dotat.at/ ${sg{\N${sg{\ N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\ \N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}} -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
