On 2021-01-28 15:27, Andy Smith wrote:
Hi Benny,
On Thu, Jan 28, 2021 at 03:06:12PM +0100, Benny Pedersen wrote:
https://lite.ip2location.com/database/ip-asn
is it possible to use it in spamassassin ?
SpamAssassin already has an IP to ASN plugin:
https://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Plugin_ASN.html
Is there some other info from the above database(s) that you were
interested in?
i like to use postgrsql backend so not using dns anymore, i do this with
db-file ipcc country database, but this miss asn support
the above does not miss data, but just implemention possible to
spamassassin
https://metacpan.org/release/IP-Country-DB_File/source/lib/IP/Country/DB_File/Builder.pm