Trying to lower the X-SpamScore for PHP mail()

Mail sent from my VPS server using PHP mail() results in a spam score of 4, which gets it sent to the spam folder on some systems. The emails are not spam but are used for resetting passwords, etc. I have been trying for days to lower the score, with no progress. I have read articles andl forum posts about dealing with X-spam and followed advice given where appropriate. I’m hoping that by looking at the following mail header info, someone can give me a clue that might help. Thanks.

Received: from (
by with SMTP; 10 Dec 2014 18:21:01 -0000
Received: from ( [])
by (8.14.4/8.14.4) with ESMTP id sBAIKuQ6022757
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
for <>; Wed, 10 Dec 2014 13:20:57 -0500
Received: from nobody by with local (Exim 4.84)
(envelope-from <
id 1Xylse-0005rl-Aa
for ; Wed, 10 Dec 2014 10:20:56 -0800
To: Rob Hecker2 <
Subject: Agra website sign-up: Rob Hecker2
MIME-Version: 1.0
Content-type: text/plain; charset=utf-8
From: agra <>
Reply-To: ********
X-Mailer: PHP/5.5.18
Message-Id: <
Date: Wed, 10 Dec 2014 10:20:56 -0800
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname -
X-AntiAbuse: Original Domain -
X-AntiAbuse: Originator/Caller UID/GID - [99 32008] / [47 12]
X-AntiAbuse: Sender Address Domain -
X-Get-Message-Sender-Via: uid via acl_c_vhost_owner from authenticated_id: nobody

from /only user confirmed/virtual account not confirmed
X-Source-Args: /usr/local/apache/bin/httpd -k start -DSSL
X-Custom-SpamThreshold: 8
X-SpamScore: 4
X-MailHub-Apparently-To: ********

No idea about the headers, personally, but have you tried setting up DKIM authentication and/or SPF record for your domain?

Yes, those are both set up.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.