Google is rejecting my emails to @gmail.com addresses. What's wrong with my SPF record?
I'm having a problem sending emails from my mail server to @gmail.com email addresses, because Google is complaining about me being 'unauthenticated', because the SPF check 'did not pass':
<<< 550-5.7.26 Your email has been blocked because the sender is unauthenticated. <<< 550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM. <<< 550-5.7.26 <<< 550-5.7.26 Authentication results: <<< 550-5.7.26 DKIM = did not pass <<< 550-5.7.26 SPF [<my-domain-name>] with ip: [<my-ip-address>] = did not pass
(I've replaced my actual domain name and IP address with "<my-domain-name>" and "<my-ip-address>" here.)
Here's the SPF record in my server:
@ TXT "v=spf1 ip4:<my-ip-address> ~all"
(Again, I've replaced my actual IP address with "<my-ip-address>" here.)