All mail landing in Spam folder

Discussion in 'General' started by Been Told, Jan 15, 2015.

  1. Been Told

    Been Told Member

    Hi everyone!
    I setup my OVH vServer with Debian 7 according to the Perfect Server tutorial.
    Whenever I send mail to someone, the mail always lands in their spam folder.
    Can anyone tell me likely reasons for this? Thanks in advance :)
     
  2. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    You should ask the receiver. There should be informations about this in the mail-log. You can also check the headers for the received mail.
     
    Been Told likes this.
  3. Been Told

    Been Told Member

    Hi Florian,
    I sent it to myself (at gmail) and I'm looking at the headers right now. I can't tell anything from them...
    Code:
    Delivered-To: [xxx][xxx].com
    Received: by 10.107.15.134 with SMTP id 6csp69456iop;
    Thu, 15 Jan 2015 11:36:45 -0800 (PST)
    X-Received: by 10.194.179.166 with SMTP id dh6mr21483983wjc.87.1421350604889;
    Thu, 15 Jan 2015 11:36:44 -0800 (PST)
    Return-Path: <[xxx]@[xxx].com>
    Received: from [xxx].ovh.net ([xxx])
    by mx.google.com with ESMTPS id jt1si4397602wjc.142.2015.01.15.11.36.44
    for <[xxx]@[xxx].com>
    (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
    Thu, 15 Jan 2015 11:36:44 -0800 (PST)
    Received-SPF: none (google.com: [xxx]@[xxx].com does not designate permitted sender hosts) client-ip=[xxx];
    Authentication-Results: mx.google.com;
    spf=none (google.com: [xxx]@[xxx].com does not designate permitted sender hosts) smtp.mail=[xxx]@[xxx].com
    Received: from localhost (localhost [127.0.0.1])
    by [xxx].ovh.net (Postfix) with ESMTP id CAD154133E00
    for <[xxx]@[xxx].com>; Thu, 15 Jan 2015 20:36:43 +0100 (CET)
    X-Virus-Scanned: Debian amavisd-new at [xxx].ovh.net
    Received: from [xxx].ovh.net ([127.0.0.1])
    by localhost ([xxx].ovh.net [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id YEDdkhsIStAK for <[xxx]@[xxx].com>;
    Thu, 15 Jan 2015 20:36:43 +0100 (CET)
    Received: from [192.168.2.161] ([xxx] [xxx])
    (Authenticated sender: [xxx]@[xxx].com)
    by [xxx].ovh.net (Postfix) with ESMTPSA id [xxx]
    for <[xxx]@[xxx].com>; Thu, 15 Jan 2015 20:36:43 +0100 (CET)
    Message-ID: <54f816E9.1310704@[xxx].com>
    Date: Thu, 15 Jan 2015 20:36:41 +0100
    From: [xxx] <[xxx]@[xxx].com>
    User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
    MIME-Version: 1.0
    To: beentold@gmail.com
    Subject: [xxx]
    Content-Type: text/plain; charset=utf-8; format=flowed
    Content-Transfer-Encoding: 7bit
    
    Other than the vServer I don't have any self-hosted e-Mail, so I can't check mail logs on any other server. Unless someone here would be willing to accept an e-mail from me and check their log and post it here.
     
  4. Been Told

    Been Told Member

    Florian was kind enough to let me send him an e-mail and we found out that he can't reply. The error is, there is no such inbox.

    I have registered the domain with GoDaddy and entered an A record with my OVH vServer's IP address.
    Is the error maybe due to the fact, that I didn't add new MX records for the domain at GoDaddy?
    Maybe the sent mail is going to GoDaddy rather than my vServer?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    For email you need a MX record as well, you should add that at godaddy. A nice tool to test your dns setup is e.g. intodns.com
     
    Been Told likes this.
  6. Been Told

    Been Told Member

    Thanks till!
    I don't have much experience with DNS. If it's a quick and simple answer, maybe you or someone else could answer here.
    Where would I be able to find out, which hostname I should add as MX records?
    I assume it could be vpsXxXXX.ovh.net - the hostname of my vServer?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Your server hostname is fine for that. Basicaly you can use and domain / subdomain in the MX record as long as it points to your server via an A-Record.
     
    Been Told likes this.
  8. Been Told

    Been Told Member

    Thanks! Now the e-mails are coming in. But outgoing mail is still going to spam folders. Is it because the MX record isn't something like blabla.mydomain.com but rather vpsxx.ovh.net?
     
  9. Been Told

    Been Told Member

    After googling a bit, I found mention of a DKIM key that every e-mail should have. Is it possible that I have to install a DKIM add-on to ispconfig in order for Google to properly accept my mail?
     
  10. Been Told

    Been Told Member

    To make a long story short... I signed up with zoho and set my mail hosting there. It's free and totally fitting for what I need.
    This thread may be closed. Thanks again Till and Florian!
     

Share This Page