On Fri, Nov 25, 2022 at 08:15:07PM +0100, Lukas Tribus via mailop wrote:
> Hello,
> 
> if we are talking about a list of DO IP prefixes, why not rely on
> routing information with bgpq4 [1] instead?
> 
> 
> $ bgpq4 AS-14061 -A4R32 -F '%n/%l\n' | wc -l
> 85
> $ bgpq4 AS-14061 -A6R128 -F '%n/%l\n' | wc -l
> 3
> $
> 
> Should be more reliable than a manually updated txt file.
> 
If you are using SpamAssassin you could also use Mail::SpamAssassin::Plugin::ASN
to add score based on the AS, rspamd has a similar plugin.

 Giovanni

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mailop mailing list
mailop@mailop.org
https://list.mailop.org/listinfo/mailop

Reply via email to