On 1/4/23 20:07, Benny Pedersen wrote:

how to setup ASN plugin with it ?

currently i find that _ASNCIDR_ gives not cidr info with GeoIPLite2-ASN.mmdb

is this a limit of Lite ?
no, from Mail::SpamAssassin::Plugin::ASN :
-------------------------------
GeoDB (GeoIP ASN) database lookups are supported since SpamAssassin 4.0 and 
it's recommended to use them instead of DNS queries,
unless "_ASNCIDR_" is needed.
-------------------------------

To have _ASNCIDR_ tag you need to add to your config:

asn_lookup asn.routeviews.org _ASN_ _ASNCIDR_
asn_lookup_ipv6 origin6.asn.cymru.com _ASN_ _ASNCIDR_
add_header all ASN _ASN_ _ASNCIDR_

 Giovanni

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to