https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7741
Marcel <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #12 from Marcel <[email protected]> --- Can the RelayCountry plugin not use the free GeoLite2-City.mmdb database? It looks like the plugin doesn't check for the presence for GeoLite2-City.mmdb (which it should?) as it would be able to work with it as it uses the exact same format as the Maxmind country DB (they should be 100% compatible). spamassassin --cf 'country_db_type GeoIP2' --lint -D 2>&1 | grep -i relayc >Jul 21 10:17:41.118 [32330] dbg: plugin: loading >Mail::SpamAssassin::Plugin::RelayCountry from @INC >Jul 21 10:17:42.172 [32330] dbg: plugin: >Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x41bf708) implements >'extract_metadata', priority 0 >Jul 21 10:17:42.172 [32330] dbg: metadata: RelayCountry: GeoIP2: database not >found from default locations, trying IP::Country::Fast as fallback >Jul 21 10:17:42.173 [32330] dbg: metadata: RelayCountry: failed to load >'IP::Country::Fast', skipping: Can't locate IP/Country/Fast.pm in @INC (@INC >contains: lib /usr/share/perl5/vendor_perl /usr/local/lib64/perl5 >/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5 >/usr/share/perl5) at >/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/RelayCountry.pm line 320. >Jul 21 10:17:42.181 [32330] dbg: plugin: >Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x41bf708) implements >'parsed_metadata', priority 0 >Jul 21 10:17:42.182 [32330] warn: Use of uninitialized value in split at >/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/RelayCountry.pm line 397. >Jul 21 10:17:42.182 [32330] dbg: check: tagrun - tag RELAYCOUNTRY is now >ready, value: ARY:[] >Jul 21 10:17:42.182 [32330] warn: Use of uninitialized value in split at >/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/RelayCountry.pm line 402. >Jul 21 10:17:42.182 [32330] dbg: check: tagrun - tag RELAYCOUNTRYEXT is now >ready, value: ARY:[] >Jul 21 10:17:42.182 [32330] warn: Use of uninitialized value in split at >/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/RelayCountry.pm line 407. >Jul 21 10:17:42.183 [32330] dbg: check: tagrun - tag RELAYCOUNTRYAUTH is now >ready, value: ARY:[] >Jul 21 10:17:42.183 [32330] warn: Use of uninitialized value in split at >/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/RelayCountry.pm line 412. >Jul 21 10:17:42.183 [32330] dbg: check: tagrun - tag RELAYCOUNTRYALL is now >ready, value: ARY:[] > # ls -la /usr/share/GeoIP/ > total 63236 > drwxr-xr-x. 2 root root 4096 Jan 17 2019 . > drwxr-xr-x. 140 root root 4096 Jul 20 08:31 .. > lrwxrwxrwx. 1 root root 17 Jan 17 2019 GeoIP.dat -> GeoIP-initial.dat > -rw-r--r--. 1 root root 1242574 Oct 30 2018 GeoIP-initial.dat > lrwxrwxrwx. 1 root root 19 Jan 17 2019 GeoIPv6.dat -> > GeoIPv6-initial.dat > -rw-r--r--. 1 root root 2322773 Oct 30 2018 GeoIPv6-initial.dat > -rw-r--r--. 1 root root 61169072 Jul 13 01:00 GeoLite2-City.mmdb -- You are receiving this mail because: You are the assignee for the bug.
