You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Benny Pedersen <me...@junc.eu> on 2019/04/15 11:44:16 UTC
DB_File based ASN plugin lookup
since i do use https://metacpan.org/pod/IP::Country::DB_File::Builder
now i like to make ASN plugin use data from that DB_File as its done
with RelayCountry plugin, so in end not using dns data anymore
the builder is pretty fast create the db file
# local.cf
ifplugin Mail::SpamAssassin::Plugin::RelayCountry
country_db_type DB_File
country_db_path /etc/mail/spamassassin/ipcc.db
endif # Mail::SpamAssassin::Plugin::RelayCountry
can i do same with ASN ?