Hi,
Trying to compile the latest branch from svn and it appears to now
require GeoIP2::Database::Reader. Is that correct? Is this a new
requirement or am I doing something wrong?

It doesn't appear to be included with fedora, so I've compiled it
myself (from CPAN, into an RPM), but installing it has a ton of
dependencies. Is this a design change so late in the development
cycle?

$ grep GeoIP2 RelayCountry.pm
This plugin requires the GeoIP2, Geo::IP, IP::Country::DB_File or
Valid database types are GeoIP, GeoIP2, DB_File and Fast.
      if ( $value !~ /GeoIP|GeoIP2|DB_File|Fast/) {
This option tells SpamAssassin where to find MaxMind GeoIP2 or
IP::Country::DB_File database.
  } elsif ( $conf_country_db_type eq "GeoIP2" ) {
         require GeoIP2::Database::Reader;
         $db = GeoIP2::Database::Reader->new(
         $db_info = sub { return "GeoIP2 " .
($db->metadata()->description()->{en} || '?') };
    } elsif ($conf_country_db_type eq "GeoIP2" ) {

Thanks,
Alex

Reply via email to