locally domain mail go to spam

Discussion in 'General' started by Nishant patel, Nov 19, 2018.

  1. Nishant patel

    Nishant patel New Member

    Hello,
    I am using ispconfig 3.1 in ubuntu 18.04.
    I have some problem with mail, i send mail from my domain to gmail, yahoo etc. that's working fine, but when i am send mail from my domain to my other domain then i receive mail in spam.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look into the mail header of the received email to see why it gets moved to spam folder.
     
  3. Nishant patel

    Nishant patel New Member

    Ok. How to check mail header?
     
  4. nulledp

    nulledp New Member

    by the way, can you test your mail server with this tools to be sure there is all settings are correct?
    mail-tester dot com
    open the site, you will get temporary email address, need to send email and then they will check your scores.
     
  5. Nishant patel

    Nishant patel New Member

    Yes. I have checked that and my score is 7.1.
     
  6. nulledp

    nulledp New Member

    can you please show me why you didn't got 10/10?
     
  7. Nishant patel

    Nishant patel New Member

    Ok. PFA screen-shot of my mail tester score.
     

    Attached Files:

  8. nulledp

    nulledp New Member

    It is looks okay.
    Take a look into the mail header received to spam folder like Till said before
    If you use thunderbird mail client see screenshot how to see headers headers.png
     
  9. Nishant patel

    Nishant patel New Member

    This is my header,
    Return-Path: <[email protected]>
    Delivered-To: [email protected]
    Received: from host.domain2.com
    by host.domain2.com with LMTP id cObrHD/W81v0BQAAsSV/cQ
    for <[email protected]>; Tue, 20 Nov 2018 15:09:11 +0530
    Return-path: <[email protected]>
    Envelope-to: [email protected]
    Delivery-date: Tue, 20 Nov 2018 15:09:11 +0530
    Received: from ec2-35-1*8-1**ap-south-1.compute.amazonaws.com ([server-ip]:57956 helo=host.domain.com)
    by host.domain2.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
    (Exim 4.91)
    (envelope-from <[email protected]>)
    id 1gP2Uu-0000Qm-GC
    for [email protected]; Tue, 20 Nov 2018 15:09:11 +0530
    Received: from localhost (localhost [127.0.0.1])
    by host.domain.com (Postfix) with ESMTP id 441523E90F
    for <[email protected]>; Tue, 20 Nov 2018 15:08:26 +0530 (IST)
    X-Virus-Scanned: Debian amavisd-new at mail.host.domain.com
    X-Virus-Scanned: Debian amavisd-new at mail.host.domain.com
    Received: from host.domain.com ([127.0.0.1])
    by localhost (ip-172-*1-.ap-south-1.compute.internal [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id 7JJcE6Kt5vSo for <[email protected]>;
    Tue, 20 Nov 2018 15:08:25 +0530 (IST)
    Received: by host.domain.com (Postfix, from userid 5004)
    id CC5B23E918; Tue, 20 Nov 2018 15:08:25 +0530 (IST)
    To: [email protected]
    MIME-Version: 1.0
    Content-type:text/html;charset=iso-8859-1
    From:[email protected]
    Message-Id: <[email protected]>
    Date: Tue, 20 Nov 2018 15:08:25 +0530 (IST)
    X-Spam-Status: Yes, score=6.2
    X-Spam-Score: 62
    X-Spam-Bar: ++++++
    X-Spam-Report: Spam detection software, running on the system "host.domain2.com",
    has identified this incoming email as possible spam. The original
    message has been attached to this so you can view it or label
    similar future email. If you have any questions, see
    root\@localhost for details.

    Content preview: Forgot Password - some user Hi user Patel, You recently
    requested a password reset.

    Content analysis details: (6.2 points, 5.0 required)

    pts rule name description
    ---- ---------------------- --------------------------------------------------
    0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60%
    [score: 0.4841]
    0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
    mail domains are different
    -0.0 SPF_HELO_PASS SPF: HELO matches SPF record
    -0.0 SPF_PASS SPF: sender matches SPF record
    0.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
    2.1 HTML_IMAGE_ONLY_12 BODY: HTML: images with 800-1200 bytes of
    words
    0.0 HTML_MESSAGE BODY: HTML included in message
    2.6 RDNS_DYNAMIC Delivered to internal network by host with
    dynamic-looking rDNS
    X-Spam-Flag: YES
    Subject: ***SPAM*** Forgot Password - some user


    <html>
    <head>
    <title>Forgot Password - some user</title>
    </head>
    <body>
    <p>Hi user Patel,</p><br/><br/>
    <p>You recently requested a password reset.</p><br/>
    <p>To change your password, click here or paste the following link into your browser: <a href='https://someuser.domain.in/Reset-Password/[email protected]@.a'/>https://someuser.domain.in/Reset-Password/[email protected]@.a</a></p>
    <p>The link will expire in 24 hours, so be sure to use it right away.</p><br/><br/>
    <p>or</p><br/><br/>
    <p>Your Login Details:</p>
    <p>Username : [email protected]</p>
    <p>Password : 123456</p><br/><br/>
    <p>If you have any questions or concerns please feel free to email : [email protected] </p><br/><br/><br/><br/>
    <p>Regards, </p>
    <p><img src='https://someuser.domain.in/uploaded/systemconfig/Portal logo201804031522764748.png' height='30px'></p>
    </body>
    </html>
    </html>
     

Share This Page