This is what I use: https://github.com/equk/spf_list/
I get as otherwise mentioned that SPF macros defeat this in theory, but
in practice I've not (to date) found myself attempting to extract the
IPs from an SPF record of a domain that uses macros. In practice, this
has saved me a lot of time for the purposes I use it.
On 2023-10-30 14:01, Michael W. Lucas via mailop wrote:
Hi,
Trying to not reinvent the wheel here.
I want to create an allow list of the big providers that retry from
multiple IP addresses. (Spam from them won't be caught by
protocol-level checks like postscreen, it needs rspamd or somesuch).
It seems that someone surely would have created a "grab the SPF
records and create a list" script, recursing the included
records. Search engines are not useful to find it, though.
Any pointers?
==ml
_______________________________________________
mailop mailing list
[email protected]
https://list.mailop.org/listinfo/mailop