I'd like to ask you about setting up a proper header using to sending emails from my server which is running on Ubuntu 14.04 and Postfix is installed. All the emails sent from my server are marked as Spam by Gmail (to other mail services, emails are delivered with no problems). I read all the tips on this forum and nothing helps.
Going through a "Domain Health" test on mxtoolbox.com, I receive 2 warnings:
SOA Serial Number Format is Invalid
SOA Expire Value out of recommended range
But I think they're not very significant, everything else is fine which means that my SPF and DKIM are set up properly.
Sending an email to Gmail, I receive the following result:
Authentication-Results: mx.google.com;
dkim=pass header.i=@MYDOMAIN.com;
spf=pass (google.com: domain of office@MYDOMAIN.com designates MY.SERVER.IP as permitted sender) smtp.mailfrom=office@MYDOMAIN.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=MYDOMAIN.com
Result from website mail-tester.com: 10/10. And result from: check-auth@verifier.port25.com:
==========================================================
Summary of Results
==========================================================
SPF check: pass
DomainKeys check: neutral
DKIM check: pass
SpamAssassin check: ham
Is Sender-ID check missing?
Maybe setting up some additional headers attached to my email would help? Is there anybody out here who has had some experience related to this topic? What else can I do/check? There's no difference between an email with HTML and without it, both go to Spam (even simple messages). I want to send things like register confirmations and newsletters.
I saw that Gmail sends 2 headers I'd like to ask about: In-Reply-To
and References
. What do they stand for? Are they important?