https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7741
--- Comment #15 from Marcel <[email protected]> --- OK I grabbed the latest RelayCountry.pm from 3.4 trunk then set geoip2_default_db_path /usr/share/GeoIP/GeoLite2-City.mmdb and all looks to be working now: > # spamassassin --cf 'country_db_type GeoIP2' --lint -D 2>&1 | grep -i relayc > Jul 21 11:05:05.092 [24025] dbg: plugin: loading > Mail::SpamAssassin::Plugin::RelayCountry from @INC > Jul 21 11:05:07.145 [24025] dbg: plugin: > Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x459e360) implements > 'extract_metadata', priority 0 > Jul 21 11:05:07.162 [24025] dbg: metadata: RelayCountry: Using database: > GeoIP2 GeoLite2 City database / Mon Jun 24 12:23:29 2019 > Jul 21 11:05:07.162 [24025] dbg: check: tagrun - tag RELAYCOUNTRY is now > ready, value: ARY:[] > Jul 21 11:05:07.163 [24025] dbg: check: tagrun - tag RELAYCOUNTRYEXT is now > ready, value: ARY:[] > Jul 21 11:05:07.163 [24025] dbg: check: tagrun - tag RELAYCOUNTRYAUTH is now > ready, value: ARY:[] > Jul 21 11:05:07.163 [24025] dbg: check: tagrun - tag RELAYCOUNTRYALL is now > ready, value: ARY:[] No errors on # spamassassin --lint :) So I think the only thing that needs to be done is to add GeoLite2-City.mmdb to the fallback for RelayCountry and maybe URILocalBL plugins so that geoip2_default_db_path doesn't have to be explicitly set when using the maxmind city databases. Many thanks again Henry for helping me sort this out :) -- You are receiving this mail because: You are the assignee for the bug.
