Mail::SpamAssassin::GeoDB(3)

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)