[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spamassassin-users
Subject:    Re: Relay Country Plugin GEOIP issue
From:       Mark Martinec <Mark.Martinec+sa () ijs ! si>
Date:       2015-10-14 23:31:47
Message-ID: 3992ea590338939b838982daecfeb95e () mailbox ! ijs ! si
[Download RAW message or body]

2015-10-15 00:09, am@satester.com wrote:
> Does the Geo::IP package need
> to be recompiled for the change to go into effect?

No.


> Use of uninitialized value $hasStructureInfo in numeric eq (==)
> at (eval 31) line 5520

According to comments in Geo/IP.pm your GeoIP database files
must be very old if the program followed that codepath:

     # no structure info, must be pre Sep 2002 database, go back to


Check your database:

   $ spamassassin --lint -D metadata' 2>&1 | fgrep RelayCountry

should yield something like:

Oct 15 01:26:45.584 [78315] dbg: metadata: RelayCountry:
   Using database: Geo::IP GEO-106FREE 20151006 Build 1
   Copyright (c) 2015 MaxMind Inc All Rights Reserved


Fresh files can be downloaded from:

   http://dev.maxmind.com/geoip/legacy/geolite/

unzip them and place them to their expected location,
typically /usr/local/share/GeoIP/ .
You need files GeoIP.dat and GeoIPv6.dat there.

   Mark
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic