Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The website is under our server with the domain:

the client email is

the email they get is from a third party

the email we sent from the website are trough one of the ISP here with authentication for one of our local emails

what would the SPF record need to be in order for email of be sent and not considered as spam?

the xxxx is reprasanting the company name, yyyyyy the email company name, zzzzzzz our email username and kkkkkkkkkkkkkkk the isp name


share|improve this question
I'd recommend getting new domain names. yyyyyy and kkkkkkkkkkkk seem like auto-registered domains that only spammers would use. – HopelessN00b Nov 27 '12 at 6:12
the letters are only mask for the real ones! – Y.G.J Nov 27 '12 at 6:16
YGJ, while you're waiting for answers to this question, you might want to go back through your previous questions and accept answers to some of those. At the moment, you have a lot of old questions with valid answers, none of which are accepted, and this means we see a warning about your accept rate by your username; this may discourage some people from answering your questions. – MadHatter Nov 27 '12 at 7:20
Hi MadHatter, Did it to what that answered my questions :-) thanks for the advice – Y.G.J Nov 27 '12 at 9:34
up vote 3 down vote accepted

Whatever domain the e-mail is "From:", needs a SPF record. If your ISP's server is sending the e-mail, you need to ask them what "include" you should use. Your SPF record should look something like v=spf1 -all. There may be more to the record, but you don't mention any other servers sending or receiving e-mail, so this answer does not account for them.

share|improve this answer
what if i send the email from my isp but the actual email is on another (the client's)? – Y.G.J Nov 27 '12 at 9:33
I think that's explained already... Emails have a "From:" header, something like From: The domain would have to have the SPF record. If the e-mail is being sent through then you need to ask them what their "include" line is, it should be similar to Take that include line and wrap it with v=spf1 before, and -all after. If there are other mail servers for that domain, the SPF record gets more complicated, but you haven't mentioned anything about that... – Chris S Nov 27 '12 at 14:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.