enable geoip from admin ui uses wrong geoip server
Issue #725
resolved
these logs come from docker when recreating the container, after you enabled geoip in the admin ui
docker run \
--net=host \
-v /etc/localtime:/etc/localtime:ro \
-v /email/poste.io/data:/data \
--name "mailserver" \
-h "mail.it-cooking.com" \
-e "HTTPS=OFF" \
-e "HTTP_PORT=5080" \
-e "HTTPS_PORT=5433" \
-e "DISABLE_CLAMAV=TRUE" \
-t analogic/poste.io
end of docker logs:
...
Poste.io administration available at https://myip:5433 or http://myip:5080
[services.d] done.
[06-Jan-2020 19:44:52] NOTICE: fpm is running, pid 670
[06-Jan-2020 19:44:52] NOTICE: ready to handle connections
[06-Jan-2020 19:44:52] NOTICE: systemd monitor interval set to 10000ms
Error: getaddrinfo ENOTFOUND geolite.maxmind.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'geolite.maxmind.com'
}
err: getaddrinfo ENOTFOUND geolite.maxmind.com
i believe they don't provide free databases anymore for quite some time
curl geolite.maxmind.com
curl: (6) Could not resolve host: geolite.maxmind.com
Comments (2)
-
-
repo owner - changed status to resolved
fix
#725replace maxmind's geolite with https://github.com/analogic/ipgeo→ <<cset 47e79c185272>>
- Log in to comment
Each user must generate their API key on the maxmind page.
https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/