I have a contact form on my website (hosted with Digital Ocean). The contact form sends form submissions to my Google G-Suite email address. Unfortunately emails are being marked as spam.
DKIMtxt records but emails from the form still end up in my spam folder.
Where I’m up to
Have I correctly setup my PTR record? This is what I’ve done:
DigitalOcean will set a PTR record for your server as long as you use a fully qualified domain name (FQDN) like pluto.example.com rather than a single-label hostname like pluto.
digitalocean.mywebsite.co.ukto name my
domain name pointeris now the same as my droplet name
xx.xx.xxx.xx.in-addr.arpa domain name pointer digitalocean.mywebsite.co.uk.
Kind regards Stephen Meehan
I’ve not waited 24 hours for the changes to take affect, but it looks like they have partly worked…
I’ve ran a test submission from my contact form on my website, emails are still going to spam. But I thought I’d take a look at the email header to see if I can spot any mention to the updated
domain name pointer
It looks like Google Mail can see the update,
digitalocean.mywebsite.co.uk. is in the header…
This bit looks like it could be wrong:
Received: from my-company-website.localdomain.example.com (digitalocean.mywebsite.co.uk. [xx.xxx.xx.xx])
It still says
Received: from my-company-website. That was the original name of my
Is that supposed to still say that?
Here’s the full header, I’ve redacted any IP addresses.
Delivered-To: email@example.com Received: by 10.79.31.67 with SMTP id f64csp2990959ivf; Thu, 2 Feb 2017 03:50:54 -0800 (PST) X-Received: by 10.28.45.197 with SMTP id t188mr7968770wmt.15.1486036253973; Thu, 02 Feb 2017 03:50:53 -0800 (PST) Return-Path: <firstname.lastname@example.org> Received: from my-company-website.localdomain.example.com (digitalocean.mywebsite.co.uk. [xx.xxx.xx.xx]) by mx.google.com with ESMTP id xxxxxxxxxxxxxxxxxxxxxxxx for <email@example.com>; Thu, 02 Feb 2017 03:50:53 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning firstname.lastname@example.org does not designate xx.xxx.xx.xx as permitted sender) client-ip=xx.xxx.xx.xx; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning email@example.com does not designate xx.xxx.xx.xx as permitted sender) firstname.lastname@example.org Received: by my-company-website.localdomain (Postfix, from userid 1000) id 0CD8E40899; Thu, 2 Feb 2017 11:50:53 +0000 (UTC) To: email@example.com Subject: Paul - Enquiry Date: Thu, 2 Feb 2017 11:50:52 +0000 From: Company Name <firstname.lastname@example.org> Reply-To: email@example.com Message-ID: <firstname.lastname@example.org> X-Mailer: PHPMailer 5.2.21 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Name: Paul Test Email: email@example.com Message: This is a test
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!