NAME

Mail::MtPolicyd::Plugin::GeoIPAction - mtpolicyd plugin for checking geo information of an ip

VERSION

version 2.03

DESCRIPTION

This plugin will execute an action or score based on a previous lookup done with GeoIPLookup plugin.

PARAMETERS

result_from (required)

Take the GeoIP information from the result of this plugin.

The plugin in must be executed before this plugin.

(uc_)enabled (default: on)

Enable/disable this plugin.

country_codes (required)

A comma separated list of 2 letter country codes to match.

(uc_)mode (default: reject)

If set to 'passive' no action will be returned.

reject_message (default: 'delivery from %CC% (%IP%) rejected)

Could be used to specify an custom reject message.

score (default: empty)

A score to apply to the message.

AUTHOR

Markus Benning <ich@markusbenning.de>

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