This question already has an answer here:

I am familiar with the basics of SPF but I am having trouble determining exactly what I need for my setup.

I have my email done through Google Apps to send and receive email for my domain, example.com. Now I am adding Mailchimp Mandrill as a valid outgoing SMTP server for the same domain. I currently dont have an SPF record set up for Gmail.

When creating the SPF record for spf.mandrillapp.com, do I need to include gmail.com also? Or example.com? Or all three? Or only Mandrill?

marked as duplicate by MadHatter, masegaloeh, mdpc, EEAA, fukawi2 Mar 12 '15 at 4:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • @MadHatter Thanks for that answer. It is helpful. However, it is a generic answer and I am seeking a specific answer. I admit that I am not an expert on SPF and that is why I came here. If this isn't a good venue to ask specific technical questions on SPF then are you able to refer me to a venue that can help me find my answer? – Jeff Mar 11 '15 at 22:15
  • I find it interesting that in that answer you acknowledge that you can't possibly give a valid answer "for the entire internet" in that space, and then you come here and vote to close when I am looking for a specific, valid answer. – Jeff Mar 11 '15 at 22:21
  • The answer in question is a canonical one. These are answers where the community has said all it is going to say on a class of subject, because although everyone's particular problems in that class are somewhat different, to the extent that they are interesting, they aren't different, and to the extent that they're different, they aren't interesting (to anyone save the questioner). So we write one answer that's designed to be the last word on the subject, and say no more. – MadHatter Mar 12 '15 at 7:08
  • I think that is a narrow view of what this community should be. If all questions must require canonical answers, then what is the point of asking questions at all? I can easily look up the SPF spec to get the complete documentation but that doesn't help me reach my solution. Likewise, your other answer does not give me what I need either. You yourself have asked questions that not many people think are interesting, so that is hardly a good argument as to why my question is inadequate. – Jeff Mar 12 '15 at 17:10
  • Please, don't set up straw men at which to tilt; I did not say that all questions require canonical answers, nor do I think anyone else did, nor do I think it's true. But there are some questions - you can see the list of them from my link above - where the same question comes back again and again, differing only in the specifics of the question. There is no end to answering those, because each person's answer is unique to their unique problem. We have decided as a community - whether you like it or not - that we're not interested in answering any more questions like that. – MadHatter Mar 12 '15 at 18:33

Yes, you should include Google's SPF include for this domain, even if no SPF record was set up previously.

Your record for example.com will probably look something like:

v=spf1 include:_spf.google.com include:spf.mandrillapp.com ~all

when all is said and done.

You don't need anything additional for example.com unless you are sending email directly (e.g. with Postfix or Sendmail) from another server.

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