https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7211

J <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #9 from J <[email protected]> ---
Attached is proof of concept patch to ASN.pm to split lookups for IPv4 and IPv6
origin addresses.

So with the following in local.cf:

loadplugin Mail::SpamAssassin::Plugin::ASN
asn_lookup origin.asn.cymru.com    _ASN_ _ASNCIDR_
asn_lookup_ipv6 origin6.asn.cymru.com    _ASN_ _ASNCIDR_
add_header all ASN _ASN_ _ASNCIDR_

ASN resolution will now use the appropriate server based on the IP type as
tested against the IPV4_ADDRESS constant.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to