Postfix sending mail to spam (gmail)

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

  1. Diogo Jesus

    Diogo Jesus New Member

    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.

    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;
 ; s=arc-20160816;
    ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arc-20160816;
    ARC-Authentication-Results: i=1;;
          dkim=pass [email protected] header.s=default header.b="FZ/ex0kt";
          spf=pass ( domain of [email protected] designates as permitted sender) [email protected]
    Return-Path: <[email protected]>
    Received: from ( [])
           by with ESMTPS id a6-v6si240617wro.400.2018.
           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 ( domain of [email protected] designates as permitted sender) client-ip=;
          dkim=pass [email protected] header.s=default header.b="FZ/ex0kt";
          spf=pass ( domain of [email protected] designates as permitted sender) [email protected]
    Received: from localhost (localhost []) by (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;; 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
    Received: from ([]) by localhost ( []) (amavisd-new, port 10026) with ESMTP id nUM6_j1Z_Tuj for <[email protected]>; Thu, 21 Jun 2018 10:30:47 +0200 (CEST)
    Received: from [] (unknown []) (Authenticated sender: [email protected]) by (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
    Content-Type: text/plain; charset=utf-8; format=flowed
    Content-Transfer-Encoding: 7bit
    Diogo JESUS
    [email protected] <mailto:[email protected]>
    logo_eida <>
    Eida s.a.
    6, Jos Seylerstrooss
    L-8522 Beckerich
    T (+352) 26 47 47 - 64 <>
    Content-Type: text/html; charset=utf-8
    Content-Transfer-Encoding: 7bit
       <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <body text="#000000" bgcolor="#FFFFFF">
       <div class="moz-signature">-- <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>
         <a href=""><img
             src="" 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="" style="text-decoration: none;
             color: black;"></a> </font> <br>
    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.


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

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

  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 ( - that are blocked by this RBL.

Share This Page