all my accounts sent email to spam folder

Discussion in 'General' started by m2hewitt, Mar 27, 2017.

  1. m2hewitt

    m2hewitt New Member

    Dear guys,

    all my emails sent from account hosted on my ISPConfig server are going to spam folder.

    i already setup SPF records and DKIM for each domains.
    my instance server is hosted on DigitalOcean, and i use the DNS from it.

    this is the structure:

    master domain at vps:

    A mail.mydomain.com > xxx.xxx.xxx.xxx

    mx mydomain.com mail handled by mail.mydomain.com

    txt mydomain.com > "v=spf1 mx a ip4:xxx.xxx.xxx.xxx/xx a:ns1.xxxxxxxxxxx.com.ar a:ns2.xxxxxxxxxx.com.ar ~all"

    txt default._domainkey.mydomain.com > "v=DKIM1; t=s; p=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

    and each domains parked on my ISP had this config on DNS config:

    [​IMG]
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I am not sure about your settings though they look fine to me. But your mail server may not be duly recognized/celebrated by other email service provider as I think that is what they normally do. You can always try asking your email recipients to find your emails in the spam folder and mark them as non-spam. May be that will work in a/some way.

    So far I remember, I never get my email service to work properly due to the later problem which is similar to yours. That is when I decided to I switch to use smtp-relay instead and relieved my self from all the headache relating to it. Hopefully you can find a solution and share it in here.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Spam folder at which ISP? Hotmail, gmail, yahoo? And did you check if your IP is on any blacklists?
     
  4. Tuumke

    Tuumke Active Member

    https://mxtoolbox.com/domain/stage3.com.ar/
     
  5. sanayasaini

    sanayasaini New Member

    If you are talking about gmail and you have many email in your inbox then some incoming mails by default arrive in spam folder and the sender tell that ting that if you do not find your mail once check your spam or junk folder.
     
  6. m2hewitt

    m2hewitt New Member

    Thanks for all!

    The IP is clean!

    After setup dmarc for stage3.com.ar, all of my customers domains emails going to inbox OK.
    is stange, becouse all of my domains parked on ISP is going to inbox now, -.-
    But hotmail/outlook they still mark my mail as spam

    i need to perform setup dmarc on all of my domains?

    status mxtool

    stage3.com.ar
    [​IMG]

    and the master domain
    digitaldepartment.com.ar

    smtp and pop3 hosted on mail.digitaldepartment.com.ar

    [​IMG]
     
    Last edited: Mar 29, 2017
    ahrasis likes this.
  7. Tuumke

    Tuumke Active Member

    Yes, i'd advise to set it up for each domain.
     
  8. m2hewitt

    m2hewitt New Member

    Dear guys,

    i allready implemented dmarc for each domain, but im still goint to spam folder, check the report please:

    [​IMG]

    and this is the log test from isnotspam.com
    Code:
    ==========================================================
    Summary of Results
    ==========================================================
    
    SPF Check : pass
    Sender-ID Check : pass
    DKIM Check : pass
    SpamAssassin Check : ham (non-spam)
    ==========================================================
    Details:
    ==========================================================
    
    HELO hostname: mail.digitaldepartment.com.ar
    Source IP: 162.243.162.177
    mail-from: [email protected]
    Anonymous To: [email protected]
    ---------------------------------------------------------
    SPF check details:
    ----------------------------------------------------------
    
    Result: pass
    ID(s) verified: [email protected]
    DNS record(s):
    stage3.com.ar.    3597    IN    TXT    "v=spf1 mx a ip4:162.243.162.177/32 a:ns1.digitaldepartment.com.ar a:ns2.digitaldepartment.com.ar ~all"
    
    
    ----------------------------------------------------------
    Sender-ID check details:
    ----------------------------------------------------------
    
    Result: pass
    
    ID(s) verified: [email protected]
    DNS record(s):
    stage3.com.ar.    3597    IN    TXT    "v=spf1 mx a ip4:162.243.162.177/32 a:ns1.digitaldepartment.com.ar a:ns2.digitaldepartment.com.ar ~all"
    
    
    ----------------------------------------------------------
    DKIM check details:
    ----------------------------------------------------------
    
    Result: pass
    ID(s) verified: [email protected]
    Selector=default
    domain=stage3.com.ar
    DomainKeys DNS Record=default._domainkey.stage3.com.ar
    
    ----------------------------------------------------------
    SpamAssassin check details:
    ----------------------------------------------------------
    SpamAssassin 3.4.1 (2015-04-28)
    
    Result: ham (non-spam) (04.2points, 10.0 required)
    
    pts rule name description
    ---- ---------------------- -------------------------------
    
    
    * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source
    * [209.85.128.174 listed in dnsbl.sorbs.net]
    * 3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100%
    * [score: 1.0000]
    * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record
    * -0.0 SPF_PASS SPF: sender matches SPF record
    * 0.2 BAYES_999 BODY: Bayes spam probability is 99.9 to 100%
    * [score: 1.0000]
    * 0.1 HTML_MESSAGE BODY: HTML included in message
    * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
    * domain
    * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
    * valid
    * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
    X-Spam-Status: Yes, hits=4.2 required=-20.0 tests=BAYES_99,BAYES_999,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_SORBS_SPAM,
    SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.0
    X-Spam-Score: 4.2
    
    To learn more about the terms used in the SpamAssassin report, please search
    here: http://wiki.apache.org/spamassassin/
    
    ==========================================================
    Explanation of the possible results (adapted from
    draft-kucherawy-sender-auth-header-04.txt):
    ==========================================================
    
    "pass"
    the message passed the authentication test.
    
    "fail"
    the message failed the authentication test.
    
    "softfail"
    the message failed the authentication test, and the authentication
    method has either an explicit or implicit policy which doesn't require
    successful authentication of all messages from that domain.
    
    "neutral"
    the authentication method completed without errors, but was unable
    to reach either a positive or a negative result about the message.
    
    "temperror"
    a temporary (recoverable) error occurred attempting to authenticate
    the sender; either the process couldn't be completed locally, or
    there was a temporary failure retrieving data required for the
    authentication. A later retry may produce a more final result.
    
    "permerror"
    a permanent (unrecoverable) error occurred attempting to
    authenticate the sender; either the process couldn't be completed
    locally, or there was a permanent failure retrieving data required
    for the authentication.
    
    
    ==========================================================
    Original Email
    ==========================================================
    
    From [email protected] Thu Aug 24 01:03:19 2017
    Return-path: <[email protected]>
    X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on isnotspam.com
    X-Spam-Flag: YES
    X-Spam-Level: ****
    X-Spam-Report:
    * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source
    * [209.85.128.174 listed in dnsbl.sorbs.net]
    * 3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100%
    * [score: 1.0000]
    * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record
    * -0.0 SPF_PASS SPF: sender matches SPF record
    * 0.2 BAYES_999 BODY: Bayes spam probability is 99.9 to 100%
    * [score: 1.0000]
    * 0.1 HTML_MESSAGE BODY: HTML included in message
    * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's
    * domain
    * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
    * valid
    * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
    X-Spam-Status: Yes, hits=4.2 required=-20.0 tests=BAYES_99,BAYES_999,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_SORBS_SPAM,
    SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.0
    Envelope-to: [email protected]
    Delivery-date: Thu, 24 Aug 2017 01:03:19 +0000
    Received: from mail.digitaldepartment.com.ar ([162.243.162.177] helo=panel.digitaldepartment.com.ar)
    by localhost.localdomain with esmtp (Exim 4.84_2)
    (envelope-from <[email protected]>)
    id 1dkgYJ-0009LX-SC
    for [email protected]; Thu, 24 Aug 2017 01:03:19 +0000
    Received: from localhost (localhost [127.0.0.1])
    by panel.digitaldepartment.com.ar (Postfix) with ESMTP id 5BE9764799
    for <[email protected]>; Wed, 23 Aug 2017 22:04:30 -0300 (-03)
    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=stage3.com.ar; h=
    content-type:content-type:subject:subject:message-id:date:date
    :from:from:mime-version; s=default; t=1503536670; x=1505351071;
    bh=xXvOgdR7gCasAAcJ0/JIM4W7gPs+fkqup0KZDpd+rmY=; b=UhBaGhMGyt1x
    fFIxz6NIo4WVl4NNC9YwYVwx7qMmRaDafg2drKYgjxpIYRfHB/WnyOl444dTm8RU
    6squP/3qwObNpPGL56U5r7HMn7d+Uok16an0rIuj0can5RKi4lZCrVxWmfiRgkrj
    yQxGEqx7PCpJpBfmx/5K4JdL1EuPxDg=
    X-Virus-Scanned: Debian amavisd-new at panel.digitaldepartment.com.ar
    Received: from panel.digitaldepartment.com.ar ([127.0.0.1])
    by localhost (panel.digitaldepartment.com.ar [127.0.0.1]) (amavisd-new, port 10026)
    with ESMTP id Rchj-klC0Ibz for <[email protected]>;
    Wed, 23 Aug 2017 22:04:30 -0300 (-03)
    Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174])
    (Authenticated sender: [email protected])
    by panel.digitaldepartment.com.ar (Postfix) with ESMTPSA id CE2CA6109F
    for <[email protected]>; Wed, 23 Aug 2017 22:04:29 -0300 (-03)
    Received: by mail-wr0-f174.google.com with SMTP id p8so5239036wrf.5
    for <[email protected]>; Wed, 23 Aug 2017 18:04:29 -0700 (PDT)
    X-Gm-Message-State: AHYfb5jEqRT34+VG9O3CE8X2AYbBXX0UYEBF/kdGUoDZHTqDEOn1/0OF
    XNf93XqsjDgYpE/imy9jyXQ/V2RJeA==
    X-Received: by 10.223.132.199 with SMTP id 65mr2638856wrg.204.1503536668985;
    Wed, 23 Aug 2017 18:04:28 -0700 (PDT)
    MIME-Version: 1.0
    Received: by 10.223.187.6 with HTTP; Wed, 23 Aug 2017 18:04:28 -0700 (PDT)
    From: "max | STAGE3" <[email protected]>
    Date: Wed, 23 Aug 2017 22:04:28 -0300
    X-Gmail-Original-Message-ID: <CAOU0w+oEAAUt6iAZswcFurO5AOBDe5-O6zwxEkhJu-T=zrRJHg@mail.gmail.com>
    Message-ID: <CAOU0w+oEAAUt6iAZswcFurO5AOBDe5-O6zwxEkhJu-T=zrRJHg@mail.gmail.com>
    Subject: hola
    To: [email protected]
    Content-Type: multipart/alternative; boundary="94eb2c0d23d00fd4430557756953"
    X-DKIM-Status: pass (stage3.com.ar)
    --94eb2c0d23d00fd4430557756953
    Content-Type: text/plain; charset="UTF-8"
    
    hola
    
    --94eb2c0d23d00fd4430557756953
    Content-Type: text/html; charset="UTF-8"
    
    <div dir="ltr">hola</div>
    
    --94eb2c0d23d00fd4430557756953--
     
  9. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    All checks passed but you should fix the dns-error.
    Feel free to ask the postmaster from hotmail / outlook why your mail is marked as spam. You can check your ip using the Smart Network Data Service
     
  10. m2hewitt

    m2hewitt New Member

    Thanks Florian, do you have the gmail help service to give me too?
    Regards
     

Share This Page