I have a new vps and I need to setup some cron jobs on it to notify me of what's happening on the server. I've tested with sendmail and emails are indeed leaving the server, but on my email they are arriving as spam. What are the steps I need to do to configure the box propperly? Its a fresh VPS with Scientific Linux installed. Can someone point me in the right direction? Thanks.
I might add that from other vps I have the mail goes to the inbox directly. Also This is from a subdomain I own that is pointing to another server on a A Record.
Edit: Here are the SPF Records already created:
Delivered-To: [email protected]
Received: by 10.114.184.100 with SMTP id et4csp1203226ldc;
Sun, 24 May 2015 14:44:42 -0700 (PDT)
X-Received: by 10.180.101.3 with SMTP id fc3mr25461787wib.47.1432503882045;
Sun, 24 May 2015 14:44:42 -0700 (PDT)
Return-Path: <[email protected]>
Received: from server.rjmarques.com ([1.123.123.1])
by mx.google.com with ESMTP id dx2si9334561wib.2.2015.05.24.14.44.41
for <[email protected]>;
Sun, 24 May 2015 14:44:41 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates 1.123.123.1 as permitted sender) client-ip=1.123.123.1;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of [email protected] designates 1.123.123.1 as permitted sender) [email protected]
Received: by server.rjmarques.com (Postfix, from userid 0)
id 2A498528D; Sun, 24 May 2015 21:44:41 +0000 (UTC)
Date: Sun, 24 May 2015 21:44:41 +0000
To: [email protected], [email protected]
Subject: Test
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <[email protected]>
From: [email protected] (root)
This is a test
And the spf record:
v=spf1 mx a ptr ip4:1.123.123.1 ~all
Where to look:
Common options: