Postfix sending mail to spam (gmail)

Discussion in 'Installation/Configuration' started by Diogo Jesus, Jun 21, 2018.

  1. Diogo Jesus

    Diogo Jesus New Member

    Hello,
    I know that this might happen a lot when you don't have your server properly configured (DKIM, SPF, RDNS, etc...) but this is not the case.
    My company mails have always worked and suddenly it is now sending to spam on gmail. Checking the headers I don't find any reason to the problem. Did gmail changed their poilicy recently? Here is one header from a test mail sent to gmail. Hopefully you guys can help me out since we need our mails to be reliable for our company.

    Code:
    Delivered-To: [email protected]
    Received: by 2002:ac9:f19:0:0:0:0:0 with SMTP id d25-v6csp843293ocf;
           Thu, 21 Jun 2018 01:30:49 -0700 (PDT)
    X-Google-Smtp-Source: ADUXVKKao7X/jXQrPoSavjrVnzVxt6p6Jt6BHDYsGLkCuNOc6WUjQycTM5Jx7GII+Dm90VhuB7v4
    X-Received: by 2002:adf:f246:: with SMTP id b6-v6mr20151980wrp.235.1529569848942;
           Thu, 21 Jun 2018 01:30:48 -0700 (PDT)
    ARC-Seal: i=1; a=rsa-sha256; t=1529569848; cv=none;
           d=google.com; s=arc-20160816;
           b=eMKlB0dmzNt50Ki0S9SINhlegBRm1xtJHPjJ+LQN/e7+QIXCf7o2+NXmkL9plzqds0
            O8ytcZx1m21b5Spb+pXgoLNLt4Nb2sNTV0u4R54urq0l3507zKM/vzV7uetiURvpdjRb
            ojtOzI6Ili87eKHxQVlItEm77HYZEKXv8tLEvLJlg+RswnncmNztx9202AODJnf9LcTb
            RJRqGluJkBs0kRgb/Hud1H1EnNSOK0uOiXdn+cCU3M9QLFomllFns9JhSLnRnOkB/eYz
            3FXOwpgjZ5xuP5nkdsLm50qfMMHag0u6jrN2DA74HFd9mjfsWrMM5PuBrlz+WTYNMIdo
            Mhww==
    ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
           h=content-language:mime-version:user-agent:date:message-id:subject
            :from:to:dkim-signature:arc-authentication-results;
           bh=PAZPmTaeDnU4fAV6yBlazbzUtpZ2mATvzHsb5nwJQBA=;
           b=r3ttF4kZF6b5lrLXr0e1wnJ3nXbWqZ8uBz7Wimwaw24lSlEIBpaFkR9PHsiknlo3C0
            /4WLyjWB+slUf9OVK7XoHYv/EmiiI+N9YOSeuCm0o8u4hVBCssfaMV+i3zd58iM2J04K
            yneVMNLIqZYcZfigZIDVtBGiLD8TwnYXYjPQ3va/NW0ypscb7RvLdceji+5NN1NTfuit
            C992EfuAOrw6R0oj3lXhgGY9LrnXfATgrPjOLjnGYRvlUF3ru1G34l0aVqZRRTBw7S4y
            RVYXIO2d3MOum4zenh0bO+S12LqLg5VFvi08Mz41+DILLWKdj4JC3fL+bgZk7SjdLL7w
            pg1g==
    ARC-Authentication-Results: i=1; mx.google.com;
          dkim=pass [email protected] header.s=default header.b="FZ/ex0kt";
          spf=pass (google.com: domain of [email protected] designates 94.23.186.183 as permitted sender) [email protected]
    Return-Path: <[email protected]>
    Received: from webapps.eida.lu (webapps.eida.lu. [94.23.186.183])
           by mx.google.com with ESMTPS id a6-v6si240617wro.400.2018.06.21.01.30.48
           for <[email protected]>
           (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
           Thu, 21 Jun 2018 01:30:48 -0700 (PDT)
    Received-SPF: pass (google.com: domain of [email protected] designates 94.23.186.183 as permitted sender) client-ip=94.23.186.183;
    Authentication-Results: mx.google.com;
          dkim=pass [email protected] header.s=default header.b="FZ/ex0kt";
          spf=pass (google.com: domain of [email protected] designates 94.23.186.183 as permitted sender) [email protected]
    Received: from localhost (localhost [127.0.0.1]) by webapps.eida.lu (Postfix) with ESMTP id 1DDCE44B98 for <[email protected]>; Thu, 21 Jun 2018 10:30:48 +0200 (CEST)
    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eida.lu; h= content-language:content-type:content-type:mime-version :user-agent:date:date:message-id:subject:subject:from:from; s= default; t=1529569847; x=1531384248; bh=cJuDCnLSZAOEKjcAJTJrReoG o9rsGDVttjxLn3XtFVY=; b=FZ/ex0ktJJZx4Sx2JKL6nMIj6E+Mr0PhQFptCgT8 tWXjFuvba7IPNtX9Kyk5vdMSsIvuX2WL02kxSOFD7t+Wj9GfYnkpYIDEBKfo7EKM Gzsw52DpsStqgCP0hdbj7KlRuFpioicUD9NTa4VL2KRRkJhVZme8ZiqJr8e/qUi8 idI=
    X-Virus-Scanned: Debian amavisd-new at webapps.eida.lu
    Received: from webapps.eida.lu ([127.0.0.1]) by localhost (webapps.eida.lu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id nUM6_j1Z_Tuj for <[email protected]>; Thu, 21 Jun 2018 10:30:47 +0200 (CEST)
    Received: from [192.168.1.149] (unknown [94.177.89.85]) (Authenticated sender: [email protected]) by webapps.eida.lu (Postfix) with ESMTPSA id CB03D44B97 for <[email protected]>; Thu, 21 Jun 2018 10:30:47 +0200 (CEST)
    To: [email protected]
    From: Diogo Jesus <[email protected]>
    Subject: test
    Message-ID: <[email protected]>
    Date: Thu, 21 Jun 2018 10:30:46 +0200
    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
    MIME-Version: 1.0
    Content-Type: multipart/alternative; boundary="------------6FE118BEDB00A3B2BC8828FE"
    Content-Language: fr
    X-Antivirus: Avast (VPS 180621-0, 21/06/2018), Outbound message
    X-Antivirus-Status: Clean
    
    --------------6FE118BEDB00A3B2BC8828FE
    Content-Type: text/plain; charset=utf-8; format=flowed
    Content-Transfer-Encoding: 7bit
    
    
    --
    
    Diogo JESUS
    SysAdmin
    [email protected] <mailto:[email protected]>
    
    logo_eida <http://www.eida.lu/>
    Eida s.a.
    6, Jos Seylerstrooss
    L-8522 Beckerich
    T (+352) 26 47 47 - 64
    www.eida.lu <http://www.eida.lu/>
    
    --------------6FE118BEDB00A3B2BC8828FE
    Content-Type: text/html; charset=utf-8
    Content-Transfer-Encoding: 7bit
    
    <html>
      <head>
    
       <meta http-equiv="content-type" content="text/html; charset=utf-8">
      </head>
      <body text="#000000" bgcolor="#FFFFFF">
       <p><br>
       </p>
       <div class="moz-signature">-- <br>
         <br>
         <font color="#68b24a">Diogo JESUS</font><br>
         <font size="-2" color="black">SysAdmin<br>
           <a href="mailto:[email protected]" style="text-decoration:
             none; color: black;">[email protected]</a></font><br>
         <br>
         <a href="http://www.eida.lu/"><img
             src="http://www.eida.lu/logosignature.png" alt="logo_eida"></a><br>
         <font color="#68b24a">Eida s.a.</font><br>
         <font size="-2" color="black">6, Jos Seylerstrooss<br>
           L-8522 Beckerich<br>
           T (+352) 26 47 47 - 64<br>
           <a href="http://www.eida.lu/" style="text-decoration: none;
             color: black;">www.eida.lu</a> </font> <br>
       </div>
      </body>
    </html>
    
    --------------6FE118BEDB00A3B2BC8828FE--
    
    This is driving me crazy. I don't know what to think right now. I'll do some tests also with hotmail and yahoo and see if the problem persists.


    ----
    EDIT
    ----

    Outlook receives it normal. Yahoo also getting in spam.
     
    Last edited: Jun 21, 2018
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

  3. Diogo Jesus

    Diogo Jesus New Member

    Hi, thanks for the reply, but the we're currently blacklisted in a single RBL and it is not from now, even inside this blacklist we never had troubles in the past. As I already contacted OVH regarding this issue since it's the whole domains (94.23.186.1 - 94.23.186.255) that are blocked by this RBL.
     

Share This Page