[nycbug-talk] gmail & spamd

michael lists at genoverly.net
Sun Apr 16 15:50:55 EDT 2006


gmail has always been a moving target for me and my OpenBSD spamd.  I
read a little snippet on misc@ that seems to help.  It looks like SPF
in TXT records in DNS are getting popular.  gmail lists their smtp
servers in that record so..

$ dig gmail.com TXT +short | tr "\ " "\n" | \
	grep ^ip4: | cut -d: -f2 > /mywhite_gmail

..will put all gmail mail servers out to a file.  I can then add that
table my pf rules.  I could probably add all the mail giants to this
table too. ..aside from allowing all gmail mail into my server.. [grin]  

Is there any danger in this?  

-- 

Michael



More information about the talk mailing list