Mail::MtPolicyd::Plugin::GeoIPLookup - mtpolicyd plugin for checking geo information of an client_address
Contents
Copyright And License
This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
perl v5.38.2 2024-05-26 Mail::MtPolicyd...in::GeoIPLookup(3pm)
Description
This plugin queries a GeoIP for the country code of the client_address. The plugin is divided in this
plugin which does the Lookup and the GeoIPAction plugin which can be used to take actions based on
country code.
Maxmind Geoip Country Database
On a debian system you can install the country database with the geoip-database package.
You also download it directly from Maxmind:
http://dev.maxmind.com/geoip/geoip2/geolite2/
(choose "GeoLite2 Country/DB")
Name
Mail::MtPolicyd::Plugin::GeoIPLookup - mtpolicyd plugin for checking geo information of an client_address
Parameters
database (default: /usr/share/GeoIP/GeoIP.dat)
The path to the geoip country database.
Version
version 2.05
