why this mail goes to gmail spam folder? What else can I do?

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

why this mail goes to gmail spam folder? What else can I do?

Post by kdiamond » 2014-10-10 01:11

Why would this mail go to Gmail spam folder?
I've been struggling with this for whole day. I'm loosing my mind already :)

Reverse DNS = Matches
spf=pass
dkim=pass
dmarc=pass

http://mxtoolbox.com/ = all pass except TLS

Thank you very much.
Br,
kd


Code: Select all

                                                                                                                                                                                                                                                               
Delivered-To: dbrectest1@gmail.com
Received: by 10.60.56.14 with SMTP id w14csp256874oep;
        Thu, 9 Oct 2014 16:04:50 -0700 (PDT)
X-Received: by 10.194.177.226 with SMTP id ct2mr756858wjc.20.1412895890112;
        Thu, 09 Oct 2014 16:04:50 -0700 (PDT)
Return-Path: <dali@dbstudio.si>
Received: from dbstudio.si (dbstudio.si. [93.103.7.222])
        by mx.google.com with SMTP id o1si756350wix.50.2014.10.09.16.04.49
        for <dbrectest1@gmail.com>;
        Thu, 09 Oct 2014 16:04:50 -0700 (PDT)
Received-SPF: pass (google.com: domain of dali@dbstudio.si designates 93.103.7.222 as permitted sender) client-ip=93.103.7.222;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of dali@dbstudio.si designates 93.103.7.222 as permitted sender) smtp.mail=dali@dbstudio.si;
       dkim=pass header.i=@dbstudio.si;
       dmarc=pass (p=QUARANTINE dis=NONE) header.from=dbstudio.si
dkim-signature: v=1; a=rsa-sha256; d=dbstudio.si; s=mail;
	c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=i8QWRtIzUU/t1yFsrmll7X70oZRRCR8XnoaFAyH/TXo=;
	b=BbfLtVFovRNFIinGU9So5P6AqoFGEjvzmtQ6sXLVYEFQ/Yy4gD/Sf0LKx7lzpTBk3fl9LIrrKklUQ5c3/ns/aUkRV5FVlCsFrMq+mW9Bzy0MG8omedJe7wswZqCC0bOi3iDarwDnofz6txlnwlDMSp+UteN6DEI/tmxZZOOHxLI=
Received: from mail.dbstudio.si (93-103-51-200.dynamic.t-2.net [93.103.51.200])
	by mail.dbstudio.si
	; Fri, 10 Oct 2014 01:04:54 +0200
Message-ID: <5437149D.6080506@dbstudio.si>
Date: Fri, 10 Oct 2014 01:05:01 +0200
From: Dali <dali@dbstudio.si>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: dbrectest1@gmail.com
Subject: test mail
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

This is just a test mail.

User avatar
SorenR
Senior user
Senior user
Posts: 4425
Joined: 2006-08-21 15:38
Location: Denmark

Re: why this mail goes to gmail spam folder? What else can I

Post by SorenR » 2014-10-10 01:27

oops...
SørenR.

Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.

percepts
Senior user
Senior user
Posts: 5282
Joined: 2009-10-20 16:33
Location: Sceptred Isle

Re: why this mail goes to gmail spam folder? What else can I

Post by percepts » 2014-10-10 01:32

PTR record says

dbstudio.si

it normally should say

mail.dbstudio.si

whether thats enough to get you into spam I don't know. Ask gmail why they do what they do.

User avatar
SorenR
Senior user
Senior user
Posts: 4425
Joined: 2006-08-21 15:38
Location: Denmark

Re: why this mail goes to gmail spam folder? What else can I

Post by SorenR » 2014-10-10 01:38

Was the first post edited ??

I could have sworn that the first Received header was..

Code: Select all

Received: from mail.dbstudio.si (dbstudio.si. [93.103.7.222])
SørenR.

Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 01:39

Thank you SorenR !!

I have changed back to mail.dbstudio.si.

This line below is my current home ip, which is dynamic yes.
Received: from mail.dbstudio.si (93-103-51-200.dynamic.t-2.net [93.103.51.200])

Br,
kd



Code: Select all

                                                                                                                                                                                                                                                               
Delivered-To: dbrectest1@gmail.com
Received: by 10.60.56.14 with SMTP id w14csp258736oep;
        Thu, 9 Oct 2014 16:34:25 -0700 (PDT)
X-Received: by 10.180.186.4 with SMTP id fg4mr928032wic.73.1412897665444;
        Thu, 09 Oct 2014 16:34:25 -0700 (PDT)
Return-Path: <dali@dbstudio.si>
Received: from mail.dbstudio.si (dbstudio.si. [93.103.7.222])
        by mx.google.com with SMTP id v9si827210wib.49.2014.10.09.16.34.24
        for <dbrectest1@gmail.com>;
        Thu, 09 Oct 2014 16:34:25 -0700 (PDT)
Received-SPF: pass (google.com: domain of dali@dbstudio.si designates 93.103.7.222 as permitted sender) client-ip=93.103.7.222;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of dali@dbstudio.si designates 93.103.7.222 as permitted sender) smtp.mail=dali@dbstudio.si;
       dkim=pass header.i=@dbstudio.si;
       dmarc=pass (p=QUARANTINE dis=NONE) header.from=dbstudio.si
dkim-signature: v=1; a=rsa-sha256; d=dbstudio.si; s=mail;
	c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=i8QWRtIzUU/t1yFsrmll7X70oZRRCR8XnoaFAyH/TXo=;
	b=ZUQL/Z1jJFCi/nH3xF0BYCKwTqI2V2hxLoPLzNBFfrfClqQZ9xKZfvlplPmSA77INyJ34pgpWdaCk+y9YQsx68Hw3HiPC1sr9NDLx0UtxeQU38rDJm/XjCIWxLMsW6CekaZ0j7u+IwMSSdjFUvwgDjIibrq3nnvYiiRWVxv0DMs=
Received: from mail.dbstudio.si (93-103-51-200.dynamic.t-2.net [93.103.51.200])
	by mail.dbstudio.si
	; Fri, 10 Oct 2014 01:34:30 +0200
Message-ID: <54371B8D.7050203@dbstudio.si>
Date: Fri, 10 Oct 2014 01:34:37 +0200
From: Dali <dali@dbstudio.si>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: dbrectest1@gmail.com
Subject: test mail 2
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

This is just a test mail.

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 01:40

I could have sworn that the first Received header was..
Yes it was. I was trying with different settings. I'm sorry.

User avatar
SorenR
Senior user
Senior user
Posts: 4425
Joined: 2006-08-21 15:38
Location: Denmark

Re: why this mail goes to gmail spam folder? What else can I

Post by SorenR » 2014-10-10 01:44

kdiamond wrote:
I could have sworn that the first Received header was..
Yes it was. I was trying with different settings. I'm sorry.
Hmm... Well, I'll change the previous "oops" to a real reply again ;-)

EHLO = mail.dbstudio.si
mail.dbstudio.si resolves to 93.103.7.222
93.103.7.222 resolves to dbstudio.si <-- should be mail.dbstudio.si

And this one is suspicious..

Code: Select all

Received: from mail.dbstudio.si (93-103-51-200.dynamic.t-2.net [93.103.51.200])
   by mail.dbstudio.si
   ; Fri, 10 Oct 2014 01:34:30 +0200
SørenR.

Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 01:49

percepts wrote:PTR record says

dbstudio.si

it normally should say

mail.dbstudio.si
my other domains have PTR like this, without mail. prefix and mail won't go into spam. But I use mdaemon mail server for other domains. All domains using hmailserver will end up in spam folder. Strange. I guess it can not be HMS's fault, but I'm running out of options :(
whether thats enough to get you into spam I don't know. Ask gmail why they do what they do.
Who can I ask there. Is there a contact? I've been filling out some bulk mailer forms but no response so far.

Thank you

Br,
kd

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 01:54

EHLO = mail.dbstudio.si
mail.dbstudio.si resolves to 93.103.7.222
93.103.7.222 resolves to dbstudio.si <-- should be mail.dbstudio.si

So I can contact ma ISP and ask to change PTR from dbstudio.si to mail.dbstudio.si
Would this make it a better practice for PTR record?

And this one is suspicious..

Code: Select all

Received: from mail.dbstudio.si (93-103-51-200.dynamic.t-2.net [93.103.51.200])
   by mail.dbstudio.si
   ; Fri, 10 Oct 2014 01:34:30 +0200
This one is my current local IP. If I go to a local pub or other networks it will be always different. I can not affect that I guess.

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 01:59

This is the email send from another domain using mdeamon mail server. This one does not go to SPAM folder. It works OK.
Can anyone spot the problem, of why this mail is OK but all HMS mails go to spam.

Thank you very much!


Code: Select all

                                                                                                                                                                                                                                                               
Delivered-To: dbrectest1@gmail.com
Received: by 10.60.56.14 with SMTP id w14csp259888oep;
        Thu, 9 Oct 2014 16:56:24 -0700 (PDT)
X-Received: by 10.194.120.101 with SMTP id lb5mr828949wjb.84.1412898983632;
        Thu, 09 Oct 2014 16:56:23 -0700 (PDT)
Return-Path: <dali@recepcija-polis.com>
Received: from recepcija-polis.com (recepcija-polis.com. [93.103.7.212])
        by mx.google.com with ESMTPS id ck2si942529wib.24.2014.10.09.16.56.22
        for <dbrectest1@gmail.com>
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Thu, 09 Oct 2014 16:56:23 -0700 (PDT)
Received-SPF: pass (google.com: domain of dali@recepcija-polis.com designates 93.103.7.212 as permitted sender) client-ip=93.103.7.212;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of dali@recepcija-polis.com designates 93.103.7.212 as permitted sender) smtp.mail=dali@recepcija-polis.com;
       dkim=pass header.i=@recepcija-polis.com
DKIM-Signature: v=1; a=rsa-sha256; c=simple;
	d=recepcija-polis.com; s=MDaemon; t=1412896994; x=1413501794;
	q=dns/txt; h=Received:Received:Date:From:To:Subject:MIME-Version:
	Content-Type:Message-ID:Reply-To; bh=EtPGSIyOJsxVRi7CeNRxyvQ0YCn
	4mcrOBgeiEsKrhlQ=; b=zgR9Vs+bG0DPgqF6aOJFCNGnulwEjUkglQCM8WDECt9
	geY+1RhoExCBzgOq0+SiqxJio4XNZO75eb9JJpnkecVlZWK5/KJb+Se4Rx8DeiIb
	Rp0AYMvXOqBrt/z1Kz2UY+YQ6JOhSNy5FWoWPuAe8wkHaV2MVKzNfTe8E7yh41iQ
	=
Received: from WorldClient by recepcija-polis.com (MDaemon PRO v10.1.0)
	with ESMTP id md50001725355.msg
	for <dbrectest1@gmail.com>; Fri, 10 Oct 2014 01:23:13 +0200
X-Spam-Processed: dbrecordings.com, Fri, 10 Oct 2014 01:23:13 +0200
	(not processed: message from trusted or authenticated source)
X-Authenticated-Sender: dali@recepcija-polis.com
X-Return-Path: dali@recepcija-polis.com
X-Envelope-From: dali@recepcija-polis.com
X-MDaemon-Deliver-To: dbrectest1@gmail.com
Received: from [93.103.51.200] by recepcija-polis.com via WorldClient with HTTP;
	Fri, 10 Oct 2014 01:23:10 +0200
Date: Fri, 10 Oct 2014 01:23:10 +0200
From: "Dali" <dali@recepcija-polis.com>
To: "dbrectest1@gmail.com" <dbrectest1@gmail.com>
Subject: this is a mdeamon mail test
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="1009_2323_10_PART-BREAK"
Message-ID: <WC20141009232310.240003@recepcija-polis.com>
X-Mailer: WorldClient 10.1.1
Reply-To: dali@recepcija-polis.com

--1009_2323_10_PART-BREAK
Content-Type: text/plain; charset="us-ascii"

this is a mdeamon mail test
 

--1009_2323_10_PART-BREAK
Content-Type: text/html; charset="us-ascii"

<HTML>
<div><font>
<div style="">this is a mdeamon mail test<br />
<font size="2">&nbsp;</font></div>
</font></div>
</HTML>

--1009_2323_10_PART-BREAK--

User avatar
SorenR
Senior user
Senior user
Posts: 4425
Joined: 2006-08-21 15:38
Location: Denmark

Re: why this mail goes to gmail spam folder? What else can I

Post by SorenR » 2014-10-10 02:03

No dmarc ??

They match...
Received: from recepcija-polis.com (recepcija-polis.com. [93.103.7.212])
Btw... This is equal to the EHLO SPAM test in hMailServer ;-)
Last edited by SorenR on 2014-10-10 02:07, edited 1 time in total.
SørenR.

Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.

percepts
Senior user
Senior user
Posts: 5282
Joined: 2009-10-20 16:33
Location: Sceptred Isle

Re: why this mail goes to gmail spam folder? What else can I

Post by percepts » 2014-10-10 02:07

you are using dynamic IP. That is a big problem.

goto browser on your hmail machine google "what is my IP".

If it doesn't say 93.103.7.222 then that is a problem.

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 02:07

SorenR wrote:No dmarc ??

They match...
Received: from recepcija-polis.com (recepcija-polis.com. [93.103.7.212])
Yes they match. But so can I change HMS/Settings/Protocols/SMTP/Delivery of e-mail/ local host name from mail.dbstudio.si to dbstudio.si. They too then match, but mail still gets in SPAM folder.

Br,
kd

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 02:10

They match now too, but mail still hist SPAM.

Code: Select all

Received: from dbstudio.si (dbstudio.si. [93.103.7.222])


Code: Select all

Delivered-To: dbrectest1@gmail.com
Received: by 10.60.56.14 with SMTP id w14csp260576oep;
        Thu, 9 Oct 2014 17:08:48 -0700 (PDT)
X-Received: by 10.195.13.114 with SMTP id ex18mr762102wjd.89.1412899727903;
        Thu, 09 Oct 2014 17:08:47 -0700 (PDT)
Return-Path: <dali@dbstudio.si>
Received: from dbstudio.si (dbstudio.si. [93.103.7.222])
        by mx.google.com with SMTP id td12si840559wic.93.2014.10.09.17.08.46
        for <dbrectest1@gmail.com>;
        Thu, 09 Oct 2014 17:08:47 -0700 (PDT)
Received-SPF: pass (google.com: domain of dali@dbstudio.si designates 93.103.7.222 as permitted sender) client-ip=93.103.7.222;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of dali@dbstudio.si designates 93.103.7.222 as permitted sender) smtp.mail=dali@dbstudio.si;
       dkim=pass header.i=@dbstudio.si;
       dmarc=pass (p=QUARANTINE dis=NONE) header.from=dbstudio.si
dkim-signature: v=1; a=rsa-sha256; d=dbstudio.si; s=mail;
	c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=mmw0X7jm5YgP32wHBaDFqGjQHWGKOS1POru3ohsuF6c=;
	b=SUvddsNuCagj3zjSJ9HHx9KrAWwpZgNkU4JFlCVfT7ipiwuXhFlHwtAPpobezjqzUtZ9MT2JuBuUgWbIjfqI2Zy9xf1MlgHVuG1+o0qM7X3qxbqlRatj1RGIwKax4tCkmMTH3fwAZvp/rysJfM25YDgk4JvNzoisIdJqPgkBMTc=
Received: from mail.dbstudio.si (93-103-51-200.dynamic.t-2.net [93.103.51.200])
	by dbstudio.si
	; Fri, 10 Oct 2014 02:08:52 +0200
Message-ID: <5437239A.2080308@dbstudio.si>
Date: Fri, 10 Oct 2014 02:08:58 +0200
From: Dali <dali@dbstudio.si>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: dbrectest1@gmail.com
Subject: test mail 4
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit


test mail 4

User avatar
SorenR
Senior user
Senior user
Posts: 4425
Joined: 2006-08-21 15:38
Location: Denmark

Re: why this mail goes to gmail spam folder? What else can I

Post by SorenR » 2014-10-10 02:11

kdiamond wrote:
SorenR wrote:No dmarc ??

They match...
Received: from recepcija-polis.com (recepcija-polis.com. [93.103.7.212])
Yes they match. But so can I change HMS/Settings/Protocols/SMTP/Delivery of e-mail/ local host name from mail.dbstudio.si to dbstudio.si. They too then match, but mail still gets in SPAM folder.

Br,
kd
No, it has to match your MX record (mail.dbstudio.si) !

A = MX = EHLO = rDNS --> FCrDNS :wink:
SørenR.

Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.

percepts
Senior user
Senior user
Posts: 5282
Joined: 2009-10-20 16:33
Location: Sceptred Isle

Re: why this mail goes to gmail spam folder? What else can I

Post by percepts » 2014-10-10 02:15

also you have used a cidr address (93.103.7.222/32) in your spf records and I think its not doing what you think it is.

it resolves to a single ip address which is 93.103.7.222

try using 93.103.0.0/19 instead. I don't know if that will work but its better than what you have now considering you are using a dynamic IP

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 02:17

A = MX = EHLO = rDNS --> FCrDNS :wink:
So the solution would be to ask my ISP to change PTR records from dbstudio.si to mail.dbstudio.si? Would that be correct?

Thank you

User avatar
SorenR
Senior user
Senior user
Posts: 4425
Joined: 2006-08-21 15:38
Location: Denmark

Re: why this mail goes to gmail spam folder? What else can I

Post by SorenR » 2014-10-10 02:20

kdiamond wrote:
A = MX = EHLO = rDNS --> FCrDNS :wink:
So the solution would be to ask my ISP to change PTR records from dbstudio.si to mail.dbstudio.si? Would that be correct?

Thank you
Yes...

And... Change the hostname of your mailclient on your home IP... It is confusing that mail.dbstudio.si send mail to mail.dbstudio.si on a different IP address.
SørenR.

Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.

percepts
Senior user
Senior user
Posts: 5282
Joined: 2009-10-20 16:33
Location: Sceptred Isle

Re: why this mail goes to gmail spam folder? What else can I

Post by percepts » 2014-10-10 02:21

what is your current IP of hmailserver machine ???????

User avatar
mattg
Moderator
Moderator
Posts: 21322
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: why this mail goes to gmail spam folder? What else can I

Post by mattg » 2014-10-10 02:21

kdiamond wrote:So the solution would be to ask my ISP to change PTR records...
That MAY be a solution.

Really the only people that can tell you why your mail is sent to SPAM is the people who send it to SPAM, ie the admins at gmail
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 02:28

percepts wrote:what is your current IP of hmailserver machine ???????
There are more IPs. The result will be the same if I remove all but 222.

Ethernet adapter Ethernet 3:

Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 93.103.7.214
Subnet Mask . . . . . . . . . . . : 255.255.255.240
IPv4 Address. . . . . . . . . . . : 93.103.7.218
Subnet Mask . . . . . . . . . . . : 255.255.255.240
IPv4 Address. . . . . . . . . . . : 93.103.7.222
Subnet Mask . . . . . . . . . . . : 255.255.255.240
Default Gateway . . . . . . . . . : 93.103.7.209

percepts
Senior user
Senior user
Posts: 5282
Joined: 2009-10-20 16:33
Location: Sceptred Isle

Re: why this mail goes to gmail spam folder? What else can I

Post by percepts » 2014-10-10 02:29

percepts wrote:also you have used a cidr address (93.103.7.222/32) in your spf records and I think its not doing what you think it is.

it resolves to a single ip address which is 93.103.7.222

try using 93.103.0.0/19 instead. I don't know if that will work but its better than what you have now considering you are using a dynamic IP

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 02:31

mattg wrote:
kdiamond wrote:So the solution would be to ask my ISP to change PTR records...
That MAY be a solution.

Really the only people that can tell you why your mail is sent to SPAM is the people who send it to SPAM, ie the admins at gmail
I suppose I can not just call and ask them :) Well, PTR for recepcija-polis is also withou mail. prefix and it works great. I can say to ISP to change PTR, but if that would really be the problem, I guess recepcija-polis will also go to spam directly too.

Br,
kd

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 02:34

percepts wrote:
percepts wrote:also you have used a cidr address (93.103.7.222/32) in your spf records and I think its not doing what you think it is.

it resolves to a single ip address which is 93.103.7.222

try using 93.103.0.0/19 instead. I don't know if that will work but its better than what you have now considering you are using a dynamic IP

For recepcija-polis domain (the one that works good) there are also spf records like this.

"spf2.0/mfrom mx ip4:93.103.7.212/32 -all"

"v=spf1 mx ip4:93.103.7.212/32 -all"

User avatar
SorenR
Senior user
Senior user
Posts: 4425
Joined: 2006-08-21 15:38
Location: Denmark

Re: why this mail goes to gmail spam folder? What else can I

Post by SorenR » 2014-10-10 02:40

kdiamond wrote:I suppose I can not just call and ask them :) Well, PTR for recepcija-polis is also withou mail. prefix and it works great. I can say to ISP to change PTR, but if that would really be the problem, I guess recepcija-polis will also go to spam directly too.

Br,
kd
I had a re-read of the RFC... the EHLO <host name> must resolve to an A or MX record with an associated rDNS, so changing the hostname in hMailServer to dbstudio.si should work...

My own server is fully FCrDNS so my spf record only contains "a mx ptr -all"
SørenR.

Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 02:52

I had a re-read of the RFC... the EHLO <host name> must resolve to an A or MX record with an associated rDNS, so changing the hostname in hMailServer to dbstudio.si should work...
Does not, tried many times.

My own server is fully FCrDNS so my spf record only contains "a mx ptr -all"
Should I delete my both spf records and use this?
TXT "v=spf1 a mx ptr -all"

Would that be correct? How long it takes for changes to take effect?

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 03:12

SorenR wrote:My own server is fully FCrDNS so my spf record only contains "a mx ptr -all"
This can not be the case. recepcija-polis (working domain, mdeamon mail server) also has the same SPF records. Works fine.

Oh this is a nightmare!
And... Change the hostname of your mailclient on your home IP... It is confusing that mail.dbstudio.si send mail to mail.dbstudio.si on a different IP address.
This is one difference comparing it to mdaemon. But where to turn this off? Sending it from Thunderbird client or Web Roundcube the string is always there.


Thank you all for helping!

Br,
kd

User avatar
SorenR
Senior user
Senior user
Posts: 4425
Joined: 2006-08-21 15:38
Location: Denmark

Re: why this mail goes to gmail spam folder? What else can I

Post by SorenR » 2014-10-10 03:14

kdiamond wrote:
I had a re-read of the RFC... the EHLO <host name> must resolve to an A or MX record with an associated rDNS, so changing the hostname in hMailServer to dbstudio.si should work...
Does not, tried many times.

My own server is fully FCrDNS so my spf record only contains "a mx ptr -all"
Should I delete my both spf records and use this?
TXT "v=spf1 a mx ptr -all"

Would that be correct? How long it takes for changes to take effect?
SPF2.0 you don't really need when you have DKIM, it's sort of the same thing as far as I can read from the 'net.

According to this... http://www.kitterman.com/spf/validate.html?
Domain: dbstudio.si
SPF Record: v=spf1 a mx ptr -all
should pass validation...
SørenR.

Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 03:20

SorenR wrote: Would that be correct? How long it takes for changes to take effect?
SPF2.0 you don't really need when you have DKIM, it's sort of the same thing as far as I can read from the 'net.

According to this... http://www.kitterman.com/spf/validate.html?
Domain: dbstudio.si
SPF Record: v=spf1 a mx ptr -all
should pass validation...[/quote]

Let's try it.

Thank you

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 03:21

What makes you think it's SPF? It says SPF = pass

Code: Select all

SPF record lookup and validation for: dbstudio.si

SPF records are published in DNS as TXT records.

The TXT records found for your domain are:
spf2.0/mfrom mx ip4:93.103.7.222/32 -all 
v=spf1 a ip4:93.103.7.222/32 -all 

Checking to see if there is a valid SPF record. 

Found v=spf1 record for dbstudio.si: 
v=spf1 a ip4:93.103.7.222/32 -all 

evaluating...
SPF record passed validation test with pySPF (Python SPF library)!

User avatar
SorenR
Senior user
Senior user
Posts: 4425
Joined: 2006-08-21 15:38
Location: Denmark

Re: why this mail goes to gmail spam folder? What else can I

Post by SorenR » 2014-10-10 03:40

kdiamond wrote:What makes you think it's SPF? It says SPF = pass

Code: Select all

SPF record lookup and validation for: dbstudio.si

SPF records are published in DNS as TXT records.

The TXT records found for your domain are:
spf2.0/mfrom mx ip4:93.103.7.222/32 -all 
v=spf1 a ip4:93.103.7.222/32 -all 

Checking to see if there is a valid SPF record. 

Found v=spf1 record for dbstudio.si: 
v=spf1 a ip4:93.103.7.222/32 -all 

evaluating...
SPF record passed validation test with pySPF (Python SPF library)!
If they pass then no need to change them.

The only difference left between the two servers is DMARC... And this also passes the test...

I think you need to mail Gmail admin and have them explain since everything else has been tried now.. Maybe the ip address is on some sort of internal list...
SørenR.

Algorithm (noun.)
Word used by programmers when they do not want to explain what they did.

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 03:44

SorenR wrote:I think you need to mail Gmail admin and have them explain since everything else has been tried now.. Maybe the ip address is on some sort of internal list...
Well that's the hard part. I would have done that, if any contact would exist. There are some forms without any response.

I might temporarily stop other (working) domain on 93.103.7.212 and put dbstudio.si there for a while, just to see if it's blacklisted IP. Running out of options here.

Thank you all very much for all your help.

Br,
kd

kdiamond
Normal user
Normal user
Posts: 96
Joined: 2013-03-20 10:51

Re: why this mail goes to gmail spam folder? What else can I

Post by kdiamond » 2014-10-10 10:19

Dammit, I'm stuck!

Domain recepcija-polis (using Mdeamon) without dmarc works like a charm. Mail goes to inbox. Other domains dbstudio.si, globevoices.com, dspsound.si (using HMS) will always go to spam folder. I must be crazy

Recepcija-polis Mdeamon- Inbox OK

Code: Select all

Delivered-To: tom.sternisa@gmail.com
Received: by 10.96.91.10 with SMTP id ca10csp803356qdb;
        Fri, 10 Oct 2014 01:07:59 -0700 (PDT)
X-Received: by 10.194.89.67 with SMTP id bm3mr2977850wjb.80.1412928478825;
        Fri, 10 Oct 2014 01:07:58 -0700 (PDT)
Return-Path: <podpora@recepcija-polis.com>
Received: from recepcija-polis.com (recepcija-polis.com. [93.103.7.212])
        by mx.google.com with ESMTPS id xx3si7015109wjc.127.2014.10.10.01.07.58
        for <tom.sternisa@gmail.com>
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Fri, 10 Oct 2014 01:07:58 -0700 (PDT)
Received-SPF: pass (google.com: domain of podpora@recepcija-polis.com designates 93.103.7.212 as permitted sender) client-ip=93.103.7.212;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of podpora@recepcija-polis.com designates 93.103.7.212 as permitted sender) smtp.mail=podpora@recepcija-polis.com;
       dkim=pass header.i=@recepcija-polis.com
DKIM-Signature: v=1; a=rsa-sha256; c=simple;
	d=recepcija-polis.com; s=MDaemon; t=1412926410; x=1413531210;
	q=dns/txt; h=Received:Message-ID:Date:From:User-Agent:
	MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:
	Reply-To; bh=bF1s21tQYCmEiY4fl5nKayI1D0oKOnCuzalMr+pymqo=; b=mkZ
	gquSmvmUb6ZaB/httj+Mwjp2npN935m8A023IvVBuS/ACMRUyC75U7hZqNIXcy2r
	qg3PhmYMNiDfY0AUTHXqsYUDqPrp1VWq4vGcoJ9j3bSzsUtj/aT1LhjBbtmmueXg
	y6a/0QTUWDdKwIfXHNJslXxhKvzVTBSQLTCNHhMc=
Received: from [192.168.3.113] by recepcija-polis.com (Cipher TLSv1:RC4-MD5:128) (MDaemon PRO v10.1.0)
	with ESMTP id md50001725368.msg
	for <tom.sternisa@gmail.com>; Fri, 10 Oct 2014 09:33:30 +0200
X-Spam-Processed: dbrecordings.com, Fri, 10 Oct 2014 09:33:30 +0200
	(not processed: message from trusted or authenticated source)
X-Authenticated-Sender: podpora@recepcija-polis.com
X-MDRemoteIP: 192.168.3.113
X-Return-Path: podpora@recepcija-polis.com
X-Envelope-From: podpora@recepcija-polis.com
X-MDaemon-Deliver-To: tom.sternisa@gmail.com
Message-ID: <543793E9.7090803@recepcija-polis.com>
Date: Fri, 10 Oct 2014 10:08:09 +0200
From: podpora <podpora@recepcija-polis.com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: tom.sternisa@gmail.com
Subject: test 1
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Reply-To: podpora@recepcija-polis.com

test 1
dbstudio.si HMS - SPAM

Code: Select all

Delivered-To: tom.sternisa@gmail.com
Received: by 10.96.91.10 with SMTP id ca10csp805145qdb;
        Fri, 10 Oct 2014 01:24:54 -0700 (PDT)
X-Received: by 10.180.108.9 with SMTP id hg9mr3135762wib.1.1412929494205;
        Fri, 10 Oct 2014 01:24:54 -0700 (PDT)
Return-Path: <dali@dbstudio.si>
Received: from dbstudio.si (dbstudio.si. [93.103.7.222])
        by mx.google.com with SMTP id m13si2161623wiv.32.2014.10.10.01.24.52
        for <tom.sternisa@gmail.com>;
        Fri, 10 Oct 2014 01:24:53 -0700 (PDT)
Received-SPF: pass (google.com: domain of dali@dbstudio.si designates 93.103.7.222 as permitted sender) client-ip=93.103.7.222;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of dali@dbstudio.si designates 93.103.7.222 as permitted sender) smtp.mail=dali@dbstudio.si;
       dkim=pass header.i=@dbstudio.si;
       dmarc=pass (p=QUARANTINE dis=NONE) header.from=dbstudio.si
dkim-signature: v=1; a=rsa-sha256; d=dbstudio.si; s=mail;
	c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=bF1s21tQYCmEiY4fl5nKayI1D0oKOnCuzalMr+pymqo=;
	b=KTz/e4DfVsjGKSDFdGaS2gy48vv0/P14R32F7B4sYDqTTP+XO4l6tGRtGYZGDrmOXe9SBEWcWMCdMgL096Ax0A9B+eem6z2Td0fzJwL80Ur75Iq27bX4N2eSztweHhBQCIlPiPSfc0b3nScBCe6zlNada+fsUt1pSN2ZQYToSYQ=
Received: from mail.dbstudio.si (Dali-lpt [192.168.3.113])
	by dbstudio.si
	; Fri, 10 Oct 2014 10:24:58 +0200
Message-ID: <543797E0.1080109@dbstudio.si>
Date: Fri, 10 Oct 2014 10:25:04 +0200
From: Dali <dali@dbstudio.si>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: tom.sternisa@gmail.com
Subject: test 1
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

test 1

globevoices.com HMS - SPAM

Code: Select all

Delivered-To: tom.sternisa@gmail.com
Received: by 10.96.91.10 with SMTP id ca10csp803565qdb;
        Fri, 10 Oct 2014 01:10:07 -0700 (PDT)
X-Received: by 10.180.102.41 with SMTP id fl9mr3054577wib.52.1412928606858;
        Fri, 10 Oct 2014 01:10:06 -0700 (PDT)
Return-Path: <dali@globevoices.com>
Received: from globevoices.com (globevoices.com. [93.103.7.218])
        by mx.google.com with SMTP id cd8si7055322wjc.103.2014.10.10.01.10.06
        for <tom.sternisa@gmail.com>;
        Fri, 10 Oct 2014 01:10:06 -0700 (PDT)
Received-SPF: pass (google.com: domain of dali@globevoices.com designates 93.103.7.218 as permitted sender) client-ip=93.103.7.218;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of dali@globevoices.com designates 93.103.7.218 as permitted sender) smtp.mail=dali@globevoices.com;
       dkim=pass header.i=@globevoices.com;
       dmarc=pass (p=QUARANTINE dis=NONE) header.from=globevoices.com
dkim-signature: v=1; a=rsa-sha256; d=globevoices.com; s=key1;
	c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=bF1s21tQYCmEiY4fl5nKayI1D0oKOnCuzalMr+pymqo=;
	b=hB/YtzvBZ1eJVyw+rdM7g98tY+D/tYHKAKGBdlR3ovvPJNBuShKWUdJ52zBengNRH7TL8kh2mulziXB67BvjFk32F7MzdBgf17oyE5NdCdbKYfgDIQXxjOwuXOL4IfunaAx6NXGdDXegSQSmum6tvOWjx2u2gqgrRRkMs/weD4M=
Received: from [192.168.3.113] (Dali-lpt [192.168.3.113])
	by globevoices.com
	; Fri, 10 Oct 2014 10:10:12 +0200
Message-ID: <5437946A.4020809@globevoices.com>
Date: Fri, 10 Oct 2014 10:10:18 +0200
From: Dali <dali@globevoices.com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: tom.sternisa@gmail.com
Subject: test 1
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

test 1
dspsound.si HMS - SPAM

Code: Select all

Delivered-To: tom.sternisa@gmail.com
Received: by 10.96.91.10 with SMTP id ca10csp805721qdb;
        Fri, 10 Oct 2014 01:30:59 -0700 (PDT)
X-Received: by 10.180.75.229 with SMTP id f5mr2985899wiw.81.1412929859150;
        Fri, 10 Oct 2014 01:30:59 -0700 (PDT)
Return-Path: <dali@dspsound.si>
Received: from dspsound.si (dbstudio.si. [93.103.7.222])
        by mx.google.com with SMTP id dz13si7127228wjb.100.2014.10.10.01.30.58
        for <tom.sternisa@gmail.com>;
        Fri, 10 Oct 2014 01:30:58 -0700 (PDT)
Received-SPF: pass (google.com: domain of dali@dspsound.si designates 93.103.7.222 as permitted sender) client-ip=93.103.7.222;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of dali@dspsound.si designates 93.103.7.222 as permitted sender) smtp.mail=dali@dspsound.si;
       dkim=pass header.i=@dspsound.si
dkim-signature: v=1; a=rsa-sha256; d=dspsound.si; s=mail;
	c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=bF1s21tQYCmEiY4fl5nKayI1D0oKOnCuzalMr+pymqo=;
	b=Snh2QDjNh0+hONtyYn5CmeWMWvFaCqSC0vVn74pnzPVMZvrzFjvB4BVYDPx5Seo5benN9FtzsnbmMMRWD0JZpq/KYyc304Gf2omFnWLKzdKRhjhopSLDxADyTxUcipvbDzYis+uasTMCM41lZPkzt1rvLe/duwq63lflpssuq18=
Received: from mail.dbrecordings.com (Dali-lpt [192.168.3.113])
	by dspsound.si
	; Fri, 10 Oct 2014 10:31:03 +0200
Message-ID: <5437994E.3000104@dspsound.si>
Date: Fri, 10 Oct 2014 10:31:10 +0200
From: Dali <dali@dspsound.si>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: tom.sternisa@gmail.com
Subject: test 1
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

test 1

LesD
Senior user
Senior user
Posts: 343
Joined: 2009-01-15 20:22
Location: London, UK.

Re: why this mail goes to gmail spam folder? What else can I

Post by LesD » 2014-10-13 14:02

Do not the headers of the email give any clue as to why gmail is routing it to spam?

It would be the obvious place for them to log it.

Post Reply