On Mon, Sep 15, 2014 at 10:24 PM, Wietse Venema <wie...@porcupine.org> wrote:
> When you follow the include: directives you get lists of net/mask
> forms that are easy to convert to postscreen.
>
>     $ host -t txt spf1.amazon.com | tr ' ' '\12' | sed -n '/^ip.:/{
>         s/^ip.:\(.*\)/\1 permit/
>         p
>     }' | sort -u
>
> I thought there would be a nice script that converts SPF net/mask
> lists to postscreen access lists but I could not quickly find one.
>
I also searched and found none.

Usually I use https://dmarcian.com/spf-survey/amazon.com ( see last
section : Record flattening ) for manual lookups.
It's also nice because it shows record errors and warning  like
invalid ( or not so valid ) CIDR blocks or too many DNS lookups (
https://dmarcian.com/spf-survey/tam.com.br )

José Borges Ferreira

Reply via email to