Hi there, I currently use and recommend spf2cidr by Todd Fries: https://github.com/toddfries/spf2cidr It populates a file with the IP addresses from SPF records from a list of domains specified. This file is then used on a pf table.
cheers, --rodolfo