Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Author

       Markus Benning <ich@markusbenning.de>

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

See Also