The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Email sent from server being marked as spam?

Discussion in 'E-mail Discussions' started by praddles, Feb 14, 2011.

  1. praddles

    praddles Registered

    Joined:
    Feb 14, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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: contact@mydomain.co.uk
    
    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 <contact@mydomain.co.uk>)
    
    	id 1PoxuW-0002wF-Ol
    
    	for me@myhotmail.co.uk; 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: <contact@mydomain.co.uk>
    
    To: <me@myhotmail.co.uk>
    
    Subject: Testing
    
    Message-ID: <2424415235e333afd7bc2f8400443b11@mydomain.co.uk>
    
    X-Sender: contact@mydomain.co.uk
    
    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: contact@mydomain.co.uk
    
    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?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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.
     
Loading...

Share This Page