Scroll to navigation

Mail::SpamAssassin::GeoDB(3pm) User Contributed Perl Documentation Mail::SpamAssassin::GeoDB(3pm)

NAMEΒΆ

Mail::SpamAssassin::GeoDB - unified interface for geoip modules

Plugins need to signal SA main package the modules they want loaded, supported modules are "GeoIP2", "Geo::IP", "IP::Country::DB_File" and "IP::Country::Fast".

package Mail::SpamAssassin::Plugin::MyPlugin; sub new {
...
$self->{main}->{geodb_wanted}->{country} = 1;
$self->{main}->{geodb_wanted}->{isp} = 1; )

(internal stuff still subject to change)

2025-10-13 perl v5.40.1