https://bugs.contribs.org/show_bug.cgi?id=9033

--- Comment #47 from Terry Fage <[email protected]> ---
We have a winner...looks OK all round

[root@prox bin]# rpm -qa smeserver-geoip
smeserver-geoip-1.2-1.el6.sme.noarch

[root@prox bin]# rpm -qa perl-GeoIP2
perl-GeoIP2-2.001002-1.of.el6.noarch

[root@prox ~]# grep geoip /var/service/qpsmtpd/config/peers/0

[root@prox ~]# grep badcountries /var/service/qpsmtpd/config/peers/0
check_badcountries

[root@prox bin]# geoipupdate -v
geoipupdate 2.2.1
Opened License file /etc/GeoIP.conf
UserId 0
LicenseKey 000000000000
Insert product_id GeoLite2-City
Insert product_id GeoLite2-Country
Read in license key /etc/GeoIP.conf
Number of product ids 2
url:
https://updates.maxmind.com/app/update_getfilename?product_id=GeoLite2-City
md5hex_digest: 00000000000000000000000000000000
url: https://updates.maxmind.com/app/update_getipaddr
Client IP address: 118.209.106.15
md5hex_digest2: 3278554a2a0f2a6d5b0f591393876760
url:
https://updates.maxmind.com/app/update_secure?db_md5=00000000000000000000000000000000&challenge_md5=3278554a2a0f2a6d5b0f591393876760&user_id=0&edition_id=GeoLite2-City
Uncompress file /usr/share/GeoIP/GeoLite2-City.mmdb.gz to
/usr/share/GeoIP/GeoLite2-City.mmdb.test
Rename /usr/share/GeoIP/GeoLite2-City.mmdb.test to
/usr/share/GeoIP/GeoLite2-City.mmdb
url:
https://updates.maxmind.com/app/update_getfilename?product_id=GeoLite2-Country
md5hex_digest: 00000000000000000000000000000000
url: https://updates.maxmind.com/app/update_getipaddr
Client IP address: 118.209.106.15
md5hex_digest2: 3278554a2a0f2a6d5b0f591393876760
url:
https://updates.maxmind.com/app/update_secure?db_md5=00000000000000000000000000000000&challenge_md5=3278554a2a0f2a6d5b0f591393876760&user_id=0&edition_id=GeoLite2-Country
Uncompress file /usr/share/GeoIP/GeoLite2-Country.mmdb.gz to
/usr/share/GeoIP/GeoLite2-Country.mmdb.test
Rename /usr/share/GeoIP/GeoLite2-Country.mmdb.test to
/usr/share/GeoIP/GeoLite2-Country.mmdb

[root@prox bin]# geocity.pl 178.62.71.12
City: London
Country: GB

[root@prox bin]# geocountry.pl 178.62.71.12
Country GB

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to