Mail::SpamAssassin::PlUser:ContriMail::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.
Following metadata headers and tags are added:
X-Relay-Countries _RELAYCOUNTRY_
All untrusted relays. Contains all relays starting from the
trusted_networks border. This method has been used by default since
early SA versions.
X-Relay-Countries-External _RELAYCOUNTRYEXT_
All external relays. Contains all relays starting from the
internal_networks border. Could be useful in some cases when
trusted/msa_networks extend beyond the internal border and those
need to be checked too.
X-Relay-Countries-All _RELAYCOUNTRYALL_
All possible relays (internal + external).
X-Relay-Countries-Auth _RELAYCOUNTRYAUTH_
Auth will contain all relays starting from the first relay that used
authentication. For example, this could be used to check for hacked
local users coming in from unexpected countries. If there are no
authenticated relays, this will be empty.
REQUIREMENT
This plugin uses Mail::SpamAssassin::GeoDB and requires a module
supported by it, for example MaxMind::DB::Reader (GeoIP2).
perl v5.36.0 Mail::SpamAssassin::Plugin::RelayCountry(3pm)
Czas wygenerowania: 0.00013 sek.
Created with the man page lookup class by Andrew Collington.
Based on a C man page viewer by Vadim Pavlov
Unicode soft-hyphen fix (as used by RedHat) by Dan Edwards
Some optimisations by Eli Argon
Caching idea and code contribution by James Richardson
Copyright © 2003-2025 Linux.pl
Hosted by Hosting Linux.pl