DOKK / manpages / debian 12 / mtpolicyd / Mail::MtPolicyd::Plugin::GeoIPLookup.3pm.en
Mail::MtPolicyd::Plugin::GeoIPLookup(3pm) User Contributed Perl Documentation Mail::MtPolicyd::Plugin::GeoIPLookup(3pm)

Mail::MtPolicyd::Plugin::GeoIPLookup - mtpolicyd plugin for checking geo information of an client_address

version 2.05

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.

The path to the 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")

Markus Benning <ich@markusbenning.de>

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
2022-10-15 perl v5.34.0