By olibrabiner
Been trying to get mail to send all day without being flagged as spam, but they still are. My IP is not blacklisted. Here is the source for one of my emails sent to gmail:
Delivered-To: oli.brabiner@gmail.com
Received: by 10.217.123.201 with SMTP id dh51csp583184web;
Wed, 27 Aug 2014 13:32:57 -0700 (PDT)
X-Received: by 10.181.5.3 with SMTP id ci3mr32275276wid.57.1409171577616;
Wed, 27 Aug 2014 13:32:57 -0700 (PDT)
Return-Path: <no-reply@tp-tennis.co.uk>
Received: from tp-tennis.co.uk ([178.62.0.187])
by mx.google.com with ESMTP id az10si3886631wib.11.2014.08.27.13.32.57
for <oli.brabiner@gmail.com>;
Wed, 27 Aug 2014 13:32:57 -0700 (PDT)
Received-SPF: pass (google.com: domain of no-reply@tp-tennis.co.uk designates 178.62.0.187 as permitted sender) client-ip=178.62.0.187;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of no-reply@tp-tennis.co.uk designates 178.62.0.187 as permitted sender) smtp.mail=no-reply@tp-tennis.co.uk;
dkim=neutral (bad version) header.i=@
Received: by tp-tennis.co.uk (Postfix, from userid 33)
id 0325540061; Wed, 27 Aug 2014 16:32:57 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tp-tennis.co.uk;
s=mail; t=1409171577;
bh=BriIWjnvfwxK9HYSbdzgzkiaww0z7HQGy603k/KxvR4=;
h=To:Subject:Date:From:From;
b=O2yTbSPer7oVCYYP2tJbg9xIeaY6PFZmcIN+Y4Rn4aYz6Lnzd7H+MZNXXcaleNkkP
TR5svmapqPCDKVhkCBKqUgQ6xR90+6tSu0BIxMyi0MPg72qEfFVeptFEsq633W/LVU
0h/lRe40vn1XSZwhcTWao5EDXovF7ClEoQQMVEP8=
To: oli.brabiner@gmail.com
Subject: A Subject Here
X-PHP-Originating-Script: 0:programmessys.php
Message-Id: <20140827203257.0325540061@tp-tennis.co.uk>
Date: Wed, 27 Aug 2014 16:32:57 -0400 (EDT)
From: no-reply@tp-tennis.co.uk (no-reply)
Hi there,
This email was sent using PHP's mail function.
This is my SPF record:
"v=spf1 mx a ip4:178.62.0.187 include:tp-tennis.co.uk -all"
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 small change to you TXT record:
"v=spf1 mx a ip4:178.62.0.187 include:tp-tennis.co.uk ~all"
I have changed the hyphen before “all” to a tilde (~).
Also I find that you’re using Mailgun for handling incoming emails why not use it to send emails too?
Mailgun has instructions on how to configure Postfix to relay emails.
Once done do a mail test.
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.