Avatar of msibley
msibley
Flag for United States of America asked on

How to set up spf record to correct 550-SPF error

I have a domain set up with email. When I try to send an email through that address from Outlook at home, I get a bounced message saying

550-SPF: [ip address] is not allowed to send mail from 550 [domain]

Open in new window


How do i fix this? In searching around I've found some posts that indicate that I need a text record. The one on the server currently is

v=spf1 +a +mx -all

Open in new window


Thanks,

Mark
Email SoftwareEmail ServersEmail Protocols

Avatar of undefined
Last Comment
msibley

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
the_endjinn

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
the_endjinn

For example, if mail for your domain could be sent from 209.85.143.99 then put ip4:209.85.143.99/32. If it could come from the range 209.85.143.96 - 209.85.143.103 then put ip4:209.85.143.96/29

Basically this allows mail servers to verify that mail is coming from an expected range of addresses associated with the domain.
msibley

ASKER
Thanks for the quick response! Are we talking about the IP adresses assigned to my routers (home and work) by my ISPs (Time Warner and ATT)? I also check my email from Hotmail. When it comes to DNS I am as dumb as a stump...

Mark
the_endjinn

The external IP address(es) that mail from your domain will leave from. If the mail server for the domain is at work, then the external IP range your ISP has provided you, as long as the mail routes out from there. The important thing is that it's the external IP.

You need to ask the people hosting the DNS records for your domain to create the TXT record for you, they should know what you mean.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
msibley

ASKER
It is a godaddy plesk server and I have access to the control panel for the dns so I can add/change records. So, I should use the IP address of the domain that is hosted on the server? I can get that by pinging the domain.
the_endjinn

It needs to be the IP or IP range of the sending mail server. If they are hosting the mail server as well GoDaddy may have a KB on it, or you could try raising a support ticket with them.

I'm afraid pinging the domain won't get you the correct IP as you would be getting the DNS A record. Even doing an MX lookup will only get you the inbound mail rather than outbound.
msibley

ASKER
Sorry for the delay in getting back. I am still looking into it. Just had some other stuff come up.

Mark
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
the_endjinn

Hey Mark, no worries, we're here to help you mate so whenever you get round to it.
msibley

ASKER
Believe it or not, a tech at godaddy actually responded and gave me this string to use for an spf record:

v=spf1 a mx ptr a:s2smtpout.secureserver.net include:secureserver.net ~all

Thanks for your help in pointing me in the right direction.

Mark