To generate an SPF-record for your domain with the proper syntax, you can use the wizard at:
http://www.spfwizard.net/
To verify an SPF-record after it's in place:
http://mxtoolbox.com/spf.aspx
Read more on SPF: http://www.openspf.org/
Send a link to this post to yourself or a friend.