Provided by: spamassassin_3.4.2-0ubuntu0.18.04.5_all
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. perl v5.26.1 2021-03-Mail::SpamAssassin::Plugin::RelayCountry(3pm)