https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8324

            Bug ID: 8324
           Summary: Support IP::Geolocation::MMDB as an alternative to
                    MaxMind::DB::Reader
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Plugins
          Assignee: dev@spamassassin.apache.org
          Reporter: andr...@andreasvoegele.com
  Target Milestone: Undefined

Created attachment 6008
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6008&action=edit
Use IP::Geolocation::MMDB if available

This patch adds support for IP::Geolocation::MMDB to GeoDB.pm.
IP::Geolocation::MMDB is an API-compatible replacement for the deprecated
MaxMind::DB::Reader module.

The patched SpamAssassin accepts IP::Geolocation::MMDB as a "geodb_module"
option. Internally, "geoip2-mmdb" is passed to load_geoip2 in GeoDB.pm. If no
module has been configured, load_geoip2 tries to load MaxMind::DB::Reader and
then IP::Geolocation::MMDB. The files t/relaycountry.t and t/urilocalbl.t run
the GeoIP2 tests with both modules.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to