Hi, I have a several domains hosted on my droplet like foo.com and bar.com and my server’s hostname is like server.foo.com.
I have set google services to send and receive emails. But hosted web applications also send emails using those domains (like site@foo.com, admin@blog.foo.com and site@bar.com) from my droplet.
I have configured following TXT record at DNS for each domains. @ : “v=spf1 include:_spf.google.com ~all”
But I think, this record says that google can send email safely as this domain. So, the e-mails sent from my droplet can still be flagged as spam.
How can I include my droplet as a safe smtp server for all hosted domains?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
A useful spf record wizard can be found at http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/ <br> <br>Thinking something along the lines of <br>“v=spf1 a:server.foo.com include:_spf.google.com ~all” <br>or <br>“v=spf1 ip4:your.server.ip.address include:_spf.google.com ~all” <br> <br>
I ended up with following configuration. <br> <br>TXT @ “v=spf1 a mx ptr:server.foo.com include:_spf.google.com ~all” <br> <br>I also added following record because I send server logs via emails from root@server.foo.com . <br> <br>TXT server “v=spf1 a ptr -all”
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.