How do I setup SPF on my droplet?

September 3, 2015 2.4k views

I am sending emails with my droplet and everything works fine except that it turns up as spam.
I have tried adding a bunch of different SPF's but I can't seem to get it right.

Can anyone help me please?

3 Answers

@mattiassal - What TXT entries are you currently using? Are you using third-party to send mail, or is the droplet set up as a mail server?

You may want to take a look at the following as well:

That'll help guide you through the process and allowing you to quickly create a valid SPF.

Im using the droplet as a mailserver.
ive tried many TXT entries such as
@ IN TXT "v=spf1 a ?all"
but i still get flagged as spam

try @ IN TXT "v=spf1 a -all" see if your mail now bounces

If it doesn't then your problem isn't spf1 it is either the reputation of your host / IPaddress or your spammy content. (that is if your receiver does the "-all" as requested.)

If it does bounce then you are sending mail from the wrong IPaddress (whatever the @ resolves to in your config. section and of the bind9 manual)

Have another answer? Share your knowledge.