Scroll to navigation

Mail::SpamAssassin::Plugin::RelayCountry(3pm) User Contributed Perl Documentation Mail::SpamAssassin::Plugin::RelayCountry(3pm)

NAME

RelayCountry - add message metadata indicating the country code of each relay

SYNOPSIS

  loadplugin     Mail::SpamAssassin::Plugin::RelayCountry

DESCRIPTION

The RelayCountry plugin attempts to determine the domain country codes of each relay used in the delivery path of messages and add that information to the message metadata as "X-Relay-Countries", or the "_RELAYCOUNTRY_" header markup.

REQUIREMENT

This plugin requires the GeoIP2, Geo::IP, IP::Country::DB_File or IP::Country::Fast module from CPAN. For backward compatibility IP::Country::Fast is used as fallback if no db_type is specified in the config file.

USER PREFERENCES

The following options can be used in both site-wide ("local.cf") and user-specific ("user_prefs") configuration files to customize how SpamAssassin handles incoming email messages.
country_db_type STRING
This option tells SpamAssassin which type of Geo database to use. Valid database types are GeoIP, GeoIP2, DB_File and Fast.
country_db_path STRING
This option tells SpamAssassin where to find MaxMind GeoIP2 or IP::Country::DB_File database.
2020-01-30 perl v5.28.1