You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by am...@satester.com on 2015/10/16 18:23:57 UTC
Re: Relay Country Plugin GEOIP issue - solved
On 2015-10-14 18:31, Mark Martinec wrote:
>
> 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
>
We see that exact response but we are still exhibited the warning.
>
> 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
We tried this with no luck. Then we discovered we were patching the bug
in the wrong location.
Wrong Location (System Location): /usr/local/share/perl5/Geo/IP.pm
Right Location (Cpanel Location)
/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Geo/IP.pm
Now it's working as it's supposed to. Thanks for your help.
Allen
am@satester.com