Issue Description
The GeoIP package (ip address → location lookup) used by Stalwart is deprecated.
Look at logs
@ip-location-db/geolite2-geo-whois-asn-country
https://www.npmjs.com/package/@ip-location-db/geolite2-geo-whois-asn-country
Expected Behavior
Current GeoIP data
Actual Behavior
Outdated GeoIP data
Reproduction Steps
Start Stalwart
Relevant Log Output
2026-08-12T17:59:33Z INFO Downloading external resource (resource.download-external) details = “Downloaded ASN/Geo data”, url = “https://cdn.jsdelivr.net/npm/@ip-location-db/asn/asn-ipv4.csv”, elapsed = 391ms
2026-08-12T17:59:34Z INFO Downloading external resource (resource.download-external) details = “Downloaded ASN/Geo data”, url = “https://cdn.jsdelivr.net/npm/@ip-location-db/asn/asn-ipv6.csv”, elapsed = 189ms
2026-08-12T17:59:34Z INFO Downloading external resource (resource.download-external) details = “Downloaded ASN/Geo data”, url = “https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-geo-whois-asn-country/geolite2-geo-whois-asn-country-ipv4.csv”, elapsed = 236ms
2026-08-12T17:59:34Z INFO Downloading external resource (resource.download-external) details = “Downloaded ASN/Geo data”, url = “https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-geo-whois-asn-country/geolite2-geo-whois-asn-country-ipv6.csv”, elapsed = 212ms
Stalwart Version
v0.16.x
Installation Method
Docker
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on