How do I setup SPF on my droplet?

September 3, 2015 3k views
DNS

Hi!
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:

http://www.spfwizard.com/

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 6.3.5.1 and 6.3.5.2 of the bind9 manual)

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!