Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Thread

Combined IPv4 and IPv6 GeoIP db?

Combined IPv4 and IPv6 GeoIP db?

2016-10-12 by markus@...

Hi!


Is it possible to use two GeoIP databases? As far as I understand, I have to point geoipdb to either GeoIP.dat or GeoIPv6.dat. How can I use both?


All the best,

ME

Re: [milter-greylist] Combined IPv4 and IPv6 GeoIP db?

2016-10-12 by manu@...

markus@... [milter-greylist] <milter-greylist@yahoogroups.com>
wrote:

>  Is it possible to use two GeoIP databases? As far as I understand, I have
>  to point geoipdb to either GeoIP.dat or GeoIPv6.dat. How can I use both?

Reading the sources, it is not possible right now. Changing the code to
allow that would be easy. It looks like a case for aa beginner that want
to practice C.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] Combined IPv4 and IPv6 GeoIP db?

2016-11-22 by Hajimu UMEMOTO

Hi,

>>>>> On 12 Oct 2016 05:02:54 -0700
>>>>> "markus@... [milter-greylist]" <milter-greylist@yahoogroups.com> said:

markus> Is it possible to use two GeoIP databases? As far as I understand, I have to point
markus> geoipdb to either GeoIP.dat or GeoIPv6.dat. How can I use both?

How about the attached patch?
It adds `geoipv6db' for an IPv6 database.
It is against 4.6.1.

Sincerely,

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.