Email sent from server being marked as spam?

praddles

Registered
Feb 14, 2011
1
0
51
Hi!

Recently set up with a Linux VPS running WHM/cPanel and have set up most things, but emails being sent from the server seem to be being flagged up as spam by customers who are receiving them. This is the source code of the email recieved from a test email I sent to a Hotmail account:

Code:
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtTQ0w9NA==

X-Message-Status: n

X-SID-PRA: [email protected]

X-AUTH-Result: NONE

X-Message-Info: 6sSXyD95QpVyWRWOxydjtNJ0dptyjMtgjUnk1WyDUTb6svZzFHn6kN/xGlD1vJpzpNJ0u+6IW4LYbTNSG7rz6icep0AfQO4xRZYQACXwvRU=

Received: from aud.mydomain.co.uk ([74.52.248.244]) by snt0-mc2-f33.Snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);

	 Mon, 14 Feb 2011 04:52:13 -0800

Received: from localhost.localdomain ([127.0.0.1] helo=mydomain.co.uk)

	by aud.mydomain.co.uk with esmtpa (Exim 4.69)

	(envelope-from <[email protected]>)

	id 1PoxuW-0002wF-Ol

	for [email protected]; Mon, 14 Feb 2011 12:52:12 +0000

MIME-Version: 1.0

Content-Type: text/plain;

 charset=UTF-8;

 format=flowed

Content-Transfer-Encoding: 7bit

Date: Mon, 14 Feb 2011 12:52:12 +0000

From: <[email protected]>

To: <[email protected]>

Subject: Testing

Message-ID: <[email protected]>

X-Sender: [email protected]

User-Agent: Roundcube Webmail/0.4.2

X-AntiAbuse: This header was added to track abuse, please include it with any abuse report

X-AntiAbuse: Primary Hostname - aud.mydomain.co.uk

X-AntiAbuse: Original Domain - hotmail.co.uk

X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]

X-AntiAbuse: Sender Address Domain - mydomain.co.uk

Return-Path: [email protected]

X-OriginalArrivalTime: 14 Feb 2011 12:52:13.0208 (UTC) FILETIME=[00203980:01CBCC46]
I have a feeling the "Received: from localhost.localdomain ([127.0.0.1]" is the problem, and that the hostname hasn't been set up correctly, but being newish at this, I'm not sure how to fix it.

Any ideas?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

Can you go to WHM > Change Hostname area and check the correct hostname is listed? Even if it is, would you be able to go through the process there to change the hostname again to one that resolves on the machine (normally server.maindomain.com where maindomain.com is a domain on the machine that resolves to it)?

After you've done that, please re-try sending to hotmail to see the results. If it still isn't working, please check your /etc/hosts file:

Code:
/etc/hosts
Please paste the return you find there for the file.

Thanks.