Am 2019-08-25 10:18, schrieb Giovanni Bechis:
geoip 1.x is no more updated, with 3.4.2+ you can use country_db_type
DB_File and it would
have matched that ip.

-------------------------------------------------
$ pgeoiplookup 45.141.151.5
GeoIP version 1566720869: TR, Turkey
-------------------------------------------------

Hello, I can't find pgeoiplookup in the repository. I'm using Debian Buster (10.0), but the geoip database in this release is from 2018-11-08. So I actived backports to get a newer version from testing (https://tracker.debian.org/pkg/geoip-database).

# aptitude -t buster-backports install geoip-database

Get: 1 http://deb.debian.org/debian buster-backports/main amd64 geoip-database all 20190724-1~bpo10+1

ls -al /usr/share/GeoIP/
total 36060
drwxr-xr-x   2 root root     4096 Aug 25 16:35 .
drwxr-xr-x 131 root root     4096 Aug 10 12:37 ..
-rw-r--r--   1 root root  4969864 Nov  8  2018 GeoIPASNum.dat
-rw-r--r--   1 root root 22104026 Nov  8  2018 GeoIPCity.dat
-rw-r--r--   1 root root  2022333 Jul 31 15:47 GeoIP.dat
-rw-r--r--   1 root root  7811745 Jul 31 15:47 GeoIPv6.dat

The database is from 2019-07-24, but ip adress is still unknown :-/

root@mx2:~# geoiplookup 45.141.151.5
GeoIP Country Edition: IP Address not found

Seems that these intelligent spammers tend to use realy new ip-adresses :)

Is there no solution for the relaycountry plugin to get a score if an ip adress can't be found? I don't need the newest databases because the ip adresses of good senders longer exist.

Thomas Barth

Reply via email to