I am using
POSTFIX for sending mails. The mails that are sent from my mail server -
mydomain.com are marked as
SPAM in GMail. In other E-mail services like Yahoo and RediffMail, the mails are received in the Inbox folder.
The SPF record is
v=spf1 ip4:5x.6x.7x.8x ~all
The DKIM is
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;d=customnme.mydomain.com; s=mail; t=1469439662;bh=ox+NQjMd0N/RPAYLG5ZMS6WQnHCFcWQQorJHgFWEy0s=;h=From:To:Subject:Date:From;b=xrwOY34hTlIVVKxVxzGUpE+Z4TpQJhD+Zyw8YaU18hJgZmcbdWL49kGSpmf8qLPQrNgl6c796THzjozx3N1pi41H09LCnvsrFC9bHtIOzuESIIPtNF5Uz6iRgkNa092tjc2ezsLS2epa3Ckt87yQNlnGbabszD+i/ZWRRhM5Onw=
This is the DMARC
v=DMARC1; p=none; sp=none; rua=mailto:email@example.com; ruf=mailtp:firstname.lastname@example.org
The SOA record is
mydomain.com. SOA IN 604800 dnsserver1.mydomain.com 1720 1201 7000 2419200 86400
I hope all these records are correct. And my mail server is not a blacklisted one. I checked it with this site, http://mxtoolbox.com/SuperTool.aspx#. The reverse DNS is also working correctly.
The SPAM mail shows this message,
It is similar to messages that were detected by our spam filters
I googled about this and got to know that the issue is with the mail content. But the same mail content sent from my another mail server is received in Inbox correctly.
The following is the E-mail header in GMail,
Delivered-To: email@example.com Received: by 10.194.87.233 with SMTP id bb9csp422958wjb; Wed, 12 Oct 2016 01:09:21 -0700 (PDT) X-Received: by 10.98.71.215 with SMTP id p84mr3325711pfi.59.1476259760980; Wed, 12 Oct 2016 01:09:20 -0700 (PDT) Return-Path: <firstname.lastname@example.org> Received: from mydomain.com (mydomain.com. [5x.6x.7x.8x]) by mx.google.com with ESMTPS id g6si8043712pfc.188.2016.10.12.01.09.20 for <email@example.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Oct 2016 01:09:20 -0700 (PDT) Received-SPF: pass (google.com: domain of firstname.lastname@example.org designates 5x.6x.7x.8x as permitted sender) client-ip=5x.6x.7x.8x; Authentication-Results: mx.google.com; dkim=pass email@example.com; spf=pass (google.com: domain of firstname.lastname@example.org designates 5x.6x.7x.8x as permitted sender) email@example.com; dmarc=pass (p=NONE dis=NONE) header.from=test.mydomain.com Received: from ip-1x-6x-6x-1x.ec2.internal (ec2-5x-2x-2x-2x.compute-1.amazonaws.com [5x.2x.2x.2x]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: support_test) by mydomain.com (Postfix) with ESMTPSA id D6FCA62853 for <firstname.lastname@example.org>; Wed, 12 Oct 2016 08:09:19 +0000 (UTC) Authentication-Results: dnsserver1.mydomain.com; dmarc=none header.from=test.mydomain.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=test.mydomain.com; s=mail; t=1476259760; bh=KBZ/3urE8FjgB2zmx6SQKeJVnsy7kLKwZTpleUeh8ps=; h=From:To:Subject:Date:From; b=YoroACSjWATce13HYo21DK+KFMAz8I1NAdUtdbCGdKSEgrSH28Ak6QDqBMoaC9G8C zc6xveY/WS7wm1GSW+QakyKtIMCmuuL7gVmiPygcqiBGOFd79nY0aARowNs1aZ7two uMY/O8Vmj8rbUZKB4de7kVnioCkka5MwImP01gVI= From: support_test <email@example.com> To: firstname.lastname@example.org Message-ID: <620507801.2407.1476259765430.JavaMail.email@example.com> Subject: Mail Subject MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: Custom Mailer Date: Wed, 12 Oct 2016 08:09:19 +0000 (UTC)
I think there is no issue with the server configuration. I doubt if my mail server has been flagged as spam by GMail.
I have already posted this problem in google forum. But dint receive proper response. And I would like to know if my mail server is marked as spam by GMail. Is there any way to check this?