haraka / haraka-plugin-geoip

provide geographic information about mail senders
https://www.npmjs.com/package/haraka-plugin-geoip
MIT License
4 stars 11 forks source link

Bug fix #18

Closed lnedry closed 6 years ago

lnedry commented 6 years ago

On one of my new Haraka test installations, the following example would cause an exception: haraka -c /etc/haraka -t geoip --ip=200.225.116.131 The maxmind module only returned a registered_country for the above IP so an exception would be thrown when loc.continent.code was tested.

Also, the maxmind module only uses the '--' for continent and country.

msimerson commented 6 years ago

thanks @lnedry