Jeff Simmons wrote:
So I just set up a nice spamd for a client, and then watched Google's Postini try to resend a single email message from just about every IP they own.


Here is a little script that would help you to create your own lists. I use it and run it in cronjob once a month. Then it plug right into pf and update my table for spf records. Just modify it for your own needs and add new spf source as you see fit.

I used this script that I found long ago and it works very well for this purpose.

Best,

Daniel

====================
#!/bin/sh
FILE=spamd-spf.txt

rm -f $FILE
touch $FILE

for domain in \
        aol.com \
        apple.com \
        amazon.com \
        gmx.net \
        _spf.google.com \
        spf-a.hotmail.com \
        spf-b.hotmail.com \
        spf-c.hotmail.com \
        spf-d.hotmail.com \
        _spf-a.microsoft.com \
        _spf-b.microsoft.com \
        _spf-c.microsoft.com \
        mynethost.com \
        spf.postini.com

do
echo \#$domain >> $FILE;
dig $domain TXT +short | tr "\ " "\n" | grep ^ip4: | cut -d: -f2 >> $FILE;
done

Reply via email to