my emails goes to gmail spam from centos server

Posted July 9, 2016 15.1k views

Hi, i am using latest centos version + cpanel.

I am trying to send mail from my email account but it goes to spam in gmail.

I am new to server setup, i don’t know how to setup mail server?

I am sharing header of the email which had gone to my spam box.

Thank you for your help!

Received: by with SMTP id w81csp574159oif;
Sat, 9 Jul 2016 00:08:29 -0700 (PDT)
X-Received: by with SMTP id q79mr2052960wmb.24.1468048108963;
Sat, 09 Jul 2016 00:08:28 -0700 (PDT)
Received: from medcurex ([])
by with ESMTPS id b83si1510475wmb.124.2016.
(version=TLS12 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Sat, 09 Jul 2016 00:08:28 -0700 (PDT)
Received-SPF: neutral ( is neither permitted nor denied by best guess record for domain of client-ip=;
dkim=temperror (no key for signature);
spf=neutral ( is neither permitted nor denied by best guess record for domain of
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;; s=default; h=Content-Transfer-Encoding:MIME-Version:
bh=z2D8S+JUHCJ4LGYjMiK9OAvxureysWnwgqx3Ldmvpr4=; b=dSzjhnJ7T+YoAHu5g6n36LBz0Q
Received: from [::1] (port=45133 helo=medcurex)
by medcurex with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
id 1bLmNI-0004zB-96
for; Sat, 09 Jul 2016 03:08:28 -0400
Received: from ([]) by (Horde
Framework) with HTTP; Sat, 09 Jul 2016 03:08:27 -0400
Date: Sat, 09 Jul 2016 03:08:27 -0400
Message-ID: 20160709030827.Horde.92xLi1mnZmwfWDFzh1L7qPv@
Subject: =?utf-8?b?YnVnw7xu?= hava =?utf-8?b?Z8O8emVs?=
User-Agent: Horde Application Framework 5
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - medcurex
X-AntiAbuse: Original Domain -
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain -
X-Get-Message-Sender-Via: medcurex: authenticated
X-Authenticated-Sender: medcurex:

bugün hava güzel

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
5 answers

Have you setup your SPF, DKIM, and DMARC DNS records yet?

by Pablo Carranza
A carefully tailored SPF record will reduce the likelihood of your domain name getting fraudulently spoofed and keep your messages from getting flagged as spam before they reach your recipients.

How can i setup themin CENTOS?

  • You don’t. You create DNS records via the DO control panel in the networking tab. From there, pick the domain you want to modify.

    • So you mean SPF, DKIM, DMARC have alreasy installed. Then i have to change / add a DNS record? For ex. if my domain is what should i do, or what should i add / change? Thank you.

      • If you didn’t create them before, you would need to create your own SPF, DKIM, and DMARC records for your domain. Follow the links I had previously provided to get more information about forming the contents of those records. Use search on the upper right of this page for other hints on how to create them.

  1. Create your SPF Record using and SPF Generator
  2. Create your DMARC Record using a DMARC Generator 3) Then test everything using mailtester

Then report back - If you’re having any issues. I also had this problem but I didn’t know how to fix it even though I reported that email was not spam. But why gmail still put it in the spam list. It’s hard to understand! Please help me…