We are trying to let our php application send confirmation and other emails (not spammy or bulky) to our users.
Postfix delivers the emails to their destination just fine, but all mails arrive in gmail/hotmail's SPAM folder.
SPF records are set up correctly, as well as reverse DNS.
These are our headers in gmail:
Code:
Delivered-To: myname@gmail.com
Received: by 10.216.183.13 with SMTP id p13cs10900wem;
Fri, 12 Nov 2010 01:46:53 -0800 (PST)
Received: by 10.224.218.74 with SMTP id hp10mr1715237qab.305.1289555212973;
Fri, 12 Nov 2010 01:46:52 -0800 (PST)
Return-Path: <apache@ourdomain.com>
Received: from www.ourdomain.com (www.ourdomain.com [x.x.x.x])
by mx.google.com with ESMTP id p17si7329837qcs.52.2010.11.12.01.46.52;
Fri, 12 Nov 2010 01:46:52 -0800 (PST)
Received-SPF: pass (google.com: domain of apache@ourdomain.com designates x.x.x.X as permitted sender) client-ip=x.x.x.x;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of apache@ourdomain.com designates x.x.x.x as permitted sender) smtp.mail=apache@ourdomain.com
Received: by www.ourdomain.com (Postfix, from userid 48)
id 042B31C959; Fri, 12 Nov 2010 04:46:52 -0500 (EST)
To: myname@gmail.com
Subject: Signup confirmation needed
X-PHP-Originating-Script: 48:Sendmail.php
From: apache@ourdomain.com
Reply-To: Company <apache@ourdomain.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Mailer:: PHP/5.3.3
Date: Fri, 12 Nov 2010 09:46:52 +0000
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Message-Id: <20101112094652.042B31C959@www.ourdomain.com>
test mail
We are out of inspiration on what can cause our mails to land in SPAM. Any help is much appreciated!