HELO smtp problem for Gmail and Outlook/Hotmail

shupi

Verified User
Joined
Feb 4, 2015
Messages
5
Hi all :)

I got Directadmin installed on a VPS server with multi domains set on the same IP.

Yesterday i just saw that there was a problem when i send e-mail using any mail address i create via directadmin panel and for any domain.

After looking for some reasons, i noticed some problems like DKIM not activated or SPF not correctly set on DNS. I manage to do those things but the problem is still not fixed.

When i send e-mail to any ISP address it works correctly, but when it's on GMAIL or OUTLOOK/HOTMAIL, e-mail directly goes to SPAM.

Seems like it's related to the HELO config. I looked after some fixes but it's a little blurred for me.

So here is an excerpt of the e-mail source on GMAIL (same error on OUTLOOK) :

Received: by 10.194.31.229 with SMTP id d5csp232173wji;
Wed, 4 Feb 2015 01:59:06 -0800 (PST)
X-Received: by 10.180.75.80 with SMTP id a16mr25350470wiw.3.1423043946695;
Wed, 04 Feb 2015 01:59:06 -0800 (PST)
Return-Path: <[email protected]>
Received: from ns313xxx.ip-1xx-xx5-xx1.eu ([2001:41d0:2:a835::])
by mx.google.com with ESMTPS id e10si13911527wib.96.2015.02.04.01.59.06
for <[email protected]>
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Wed, 04 Feb 2015 01:59:06 -0800 (PST)
Received-SPF: none (google.com: [email protected] does not designate permitted sender hosts) client-ip=2001:xxx:2:axx5::;
Authentication-Results: mx.google.com;
spf=none (google.com: [email protected] does not designate permitted sender hosts) [email protected]
Received: from thedomain by ns313xxx.ip-1xx-xx5-xx1.eu with local (Exim 4.76)
(envelope-from <[email protected]>)

And here is an excerpt from mail-tester.com

SpamAssassin think you could do better

-2.7 FH_HELO_ALMOST_IP Helo is almost an IP addr.

Any help would be appreciate.

Thanks.
 
You need to set the Reverse DNS of your IP to the hostname of your server, if you cant do this directly (you cant do that from directadmin), you have to ask to your vps provider.

Regards
 
Hi.

Thank you for your reply.

So i've tried this : http://help.directadmin.com/item.php?id=21

and here is the result : http://hpics.li/ee40b4d

and here is the result of the dig command :

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 <<>> 1**.***.2**.53
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28379
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;188.**.2**.53. IN A

;; AUTHORITY SECTION:
. 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2015020601 1800 900 604800 86400

;; Query time: 7 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Feb 7 00:05:55 2015
;; MSG SIZE rcvd: 107

So i guess i have to contact my host right ?
 
HI.

Sorry for the time i've took to answer you, i was busy elsewhere. thank you for your help

So i've added a reverse DNS like you've told me. Now for Google it's ok, mails doesn't goes to spam anymore in Gmail but I still got the problem with outlook/Hotmail/Live.

So here's what i have done and results :

DNS reverse config :

IP : 188.1**.2**.** - reverse : ns31***.ip-188-1**-2**.eu.

Dig result :

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 <<>> -x 188.1**.2**.**
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38966
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;**.2**.1**.188.in-addr.arpa. IN PTR

;; ANSWER SECTION:
**.2**.1**.188.in-addr.arpa. 33260 IN PTR ns31***.ip-188-1**-2**.eu.

;; AUTHORITY SECTION:
2**.1**.188.in-addr.arpa. 119660 IN NS dns14.ovh.net.
2**.1**.188.in-addr.arpa. 119660 IN NS ns14.ovh.net.

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Mar 2 14:19:24 2015
;; MSG SIZE rcvd: 131

Here are two source of email i've sent to outlook and gmail after my reverse dns config :

GMAIL :

-To: ********@gmail.com
Received: by 10.194.184.80 with SMTP id es16csp13969wjc;
Sun, 1 Mar 2015 14:35:43 -0800 (PST)
X-Received: by 10.181.11.136 with SMTP id ei8mr30670046wid.10.1425249343466;
Sun, 01 Mar 2015 14:35:43 -0800 (PST)
Return-Path: <contact@***.fr>
Received: from ns313465.ip-188-165-221.eu ([2001:41**:2:a**5::])
by mx.google.com with ESMTPS id mx13si9935947wic.52.2015.03.01.14.35.43
for <*****@gmail.com>
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Sun, 01 Mar 2015 14:35:43 -0800 (PST)
Received-SPF: fail (google.com: domain of contact@***.fr does not designate 2001:41**:2:a**5:: as permitted sender) client-ip=2001:41**:2:a**5::;
Authentication-Results: mx.google.com;
spf=fail (google.com: domain of contact@***.fr does not designate 2001:41**:2:a**5:: as permitted sender) smtp.mail=contact@***.fr;
dkim=pass header.i=@***.fr
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=***.fr; s=x;
h=Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:To:From:Subject:Date:Message-ID; bh=FxhivjB29VJ3x+9xJ7Y4kxLH+Ydw9K2v1x9mv2FHnpM=;
b=F2WqJVRVlRINO/Fn/O+NcJ7bqk0nP6Ov+VQM+Q5tVV6p9gisuLPp5GLHkNMOmNjukCM6bWED8tk+Cs/eLqpVjXdEbV1fi36fqg/h6XjX95CofDabyMmsYbs7K6pPJC2RBNqh3ZQYRYk73vt2uW+UFzxgENSQ6bogxpLPhOpR5WcothO+tqOs82YCXqK+2B7U+5Fa4cl8dhzkZ6BaMkRXNINc8iZvpajdcynrmICd5XC1nVZLfERsF0SJYR7+/a9WqWoLaISd10R1Ngl1PK3thQbnkKDp7YrzCakjEWmD4yI5uJvVqTqSiAzI/uVf/RJNJBuymuEGhygnlHCqYHr7/A==;
Received: from localhost ([127.0.0.1] helo=ns31**.ip-188-1**-2**.eu)
by ns31**.ip-188-1**-2**.eu with esmtpa (Exim 4.76)
(envelope-from <contact@***.fr>)
id 1YSCXs-0007Sf-Vh; Sun, 01 Mar 2015 23:41:09 +0100
Received: from 82.244.193.218
(SquirrelMail authenticated user contact@***.fr)
by ns3***.ip-188-1**-2**.eu with HTTP;
Sun, 1 Mar 2015 22:41:08 -0000
Message-ID: <a039a84f6065d261827cd783b66076d0.squirrel@ns31**.ip-188-1**-2**.eu>

Outlook :

x-store-info:4r51+eLowCe79NzwdU2kR3P+ctWZsO+J
Authentication-Results: hotmail.com; spf=pass (sender IP is 188.1**.2**.**) smtp.mailfrom=contact@***-****.fr; dkim=pass header.d=***-****.fr; x-hmca=pass header.id=contact@***-****.fr
X-SID-PRA: contact@***-****.fr
X-AUTH-Result: PASS
X-SID-Result: PASS
X-Message-Status: n:n
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD00
X-Message-Info: 11chDOWqoTl7JvUXjz+N2A6RmANz6PIYv0cRKFSX3rZFxGA57t5qjxOa9120u/sgSHD+SnUnAhde5ZaDp5MoXmV+dUV0TZDuhXq4VbamyYloddxJrJRxP5uUyXCn5XZ8pGoHb2XIATWpSFaxqrsx9MBjFXmVrBkeP532lBh3wRyC2upFh2ht4nH69GSamI7cokbb2i72BFEaMSQyN0lVQdDXkQr7fbew
Received: from ns31**5.ip-188-1**-2**.eu ([188.1**.2**.**]) by COL004-MC4F47.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751);
Mon, 2 Mar 2015 05:06:23 -0800
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=***-****.fr; s=x;
h=Content-Transfer-Encoding:Content-Type:MIME-Version:To:From:Subject:Date:Message-ID; bh=3vYv/Ja+5CEe4eydt6b2jH3GeEUjIn71YDph1RhikQA=;
b=NcG8rpI+trlB4l3749Inow4xGMwpfLONA/SZ1T490usVvlTiKBucl6VpbgDnj3bmVtgwwlEzIhvsgzsQFLjFey/LDlC70/p/Gjwx5UcqRtWSnVWv7NIug1a9Tv8AlJh/mroi1QMI3nHbBMKMZoBJ1Qv6pxMshqM2B4EQrXDneq1mRjGwXshtxJyNjzUZcqnbV4mkbFdqDIoLlrt9aRWeL9vUXzOe5dV9ZgI4NCDXmNinyC1pNqy5Btnj2aum4FhaIwMrdLRcrXdDVqjREtBUVOB/iH7muKgrSwVAwL2XN0RduLhihJfHRPL1q6we5B1APDV9HZn3ZGyiWG1cSCfIAA==;
Received: from localhost ([127.0.0.1] helo=[188.1**.2**.**])
by ns31**5.ip-188-1**-2**.eu with esmtpa (Exim 4.76)
(envelope-from <contact@***-****.fr>)
id 1YSQ8S-0001Yy-VT
for ***.***@outlook.fr; Mon, 02 Mar 2015 14:11:49 +0100
Received: from 193.253.35.84
(SquirrelMail authenticated user contact@***-****.fr)
by 188.1**.2**.** with HTTP;
Mon, 2 Mar 2015 13:11:48 -0000
Message-ID: <[email protected]**.2**.**>

So what i don't understand is :

- Gmail return me an error for IPV6 but mail goes to inbox
- Hotmail seems to not return any error but goes to spam

:mad:

So, is the problem could be i got to config the ipv6 reverse DNS to hostname like for IPV4 ?

Thank you for all and sorry if my questions may be idiot, i try to learn every day :)
 
Since you did provide the hostname, i dont see any reason to hide the IP.. hide those kind of information is not right, since we need those information to try to help and debug your problem ;)

Sayd that... For the IPv6 as for IPv4 you need to contact your ISP to ask them to create the right PTR record for Reverse DNS.

Also, your IP appear to be in a RBL, check here: http://mxtoolbox.com/blacklists.aspx

Also, the error is pretty clear and it is:
Received-SPF: fail (google.com: domain of contact@***.fr does not designate 2001:41**:2:a**5:: as permitted sender) client-ip=2001:41**:2:a**5::;

So it mean that your DNS SPF Record doesnt have the IPv6 listed as authorized sender.

Regards
 
good morning,
I always have problems with google that will not let me send email while their spammers always come.
I set correttamante spf, dkim, dns fact I received by the notice of acceptance.
Unfortunately, the mail is refused
Technical details of permanent failure:
Message rejected by Google Groups. Please visit http://mail.google.com/support/bin/answer.py?hl=en&answer=188131 to review our Bulk Email Senders Guidelines.

details email
X-Received: by 10.194.82.167 with SMTP id j7mr62167031wjy.123.1438065215890;
********Mon, 27 Jul 2015 23:33:35 -0700 (PDT)
Return-Path: <[email protected]>
Received: from server.nova-web.eu (server.nova-web.eu. [95.211.15.24])
********by mx.google.com with ESMTPS id p3si35185482wjz.93.2015.07.27.23.33.34
********(Version = TLSv1.2 cipher = ECDHE-RSA-AES128-GCM-SHA256 bits = 128/128);
********Mon, 27 Jul 2015 23:33:35 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates 95.211.15.24 as permitted sender) client-ip = 95.211.15.24;
Authentication-Results: mx.google.com;
*******spf = pass (google.com: domain of [email protected] designates 95.211.15.24 as permitted sender) [email protected];
*******dkim = pass [email protected]
DKIM-Signature: v = 1; a = rsa-sha256; q = dns / txt; c = relaxed / relaxed; d = nova-web.eu; s = x;
h = Content-Type: MIME-Version: Message-ID: Date: Subject: Cc: To: From; bh = UTlp11EYU LILXi4pBbi0yCl3aTD0Io2Qq + / = C6tZRzrk;
b=ULLtpXMrExxqHnumRIjgB9PlCshXJPa6o5ca4gFiCgkwqklzoWjmnPdyvsy+uFatEhc6NLO96S54pDPj/RKWE1BtuZZGHFLor1yhakwJGKGrYscEaVMONks0/YlygD1mJpn7+4VGaGdit6oPWj0zl+ulbj0bcUHXqTJ0JSi7SJmtd6QhhKSPAVqjA7n0pN4EmCFliVGTCGqPAg16/g9PS+WaMhyKPlhbqCQnhw9pLaWshDWfNtRwpq7+/eY3urnZr8xBNQR6UGI9dwW2RaLab/2z1VKSZr3BOZm2UWAJUY/fY2LEZkkZVVSW7UWZYEonQj/nFY9vuNPlb0n2NuNLfA==;
Received: from [151.51.116.149] (helo = NovaWebSEPC)
by server.nova-web.eu with ESMTPSA (TLSv1: AES256-SHA: 256)
(Exim 4.80.1)

What we have to invent to work emails?
any ideas thanks a lot
 
thanks for your answer,
unfortunately I have not solved anything
spf1
dmarc
Dkim
They are all configured
some idea of this problem
this is error :
Delivery to the following recipient failed permanently:

[email protected]

Technical details of permanent failure:
Message rejected by Google Groups. Please visit http://mail.google.com/support/bin/answer.py?hl=en&answer=188131 to review our Bulk Email Senders Guidelines.

----- Original message -----

X-Received: by 10.194.174.194 with SMTP id bu2mr85006853wjc.76.1438177587106;
Wed, 29 Jul 2015 06:46:27 -0700 (PDT)
Return-Path: <[email protected]>
Received: from server.nova-web.eu (server.nova-web.eu. [95.211.15.24])
by mx.google.com with ESMTPS id qb8si41045340wjc.107.2015.07.29.06.46.26
for <[email protected]>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Wed, 29 Jul 2015 06:46:26 -0700 (PDT)
Received-SPF: pass (google.com: domain of [email protected] designates 95.211.15.24 as permitted sender) client-ip=95.211.15.24;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of [email protected] designates 95.211.15.24 as permitted sender) [email protected];
dkim=pass [email protected];
dmarc=pass (p=NONE dis=NONE) header.from=nova-web.eu
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nova-web.eu; s=x;
h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=GHtZGVQDftqcOaqWeTtKIS/bSZ/iNmMPXUPVagRD99k=;
b=M9nh4EtBC4+H35NlsTinqttB1WjaOqJwrk/5FdeQ489wlznzVFgOn0jrzwqykPsPZkA9cGLT4mRX47Lq7+xsxG2JBfWxUqUon/Wy5jP8SOoJBxtfdbMtgLNW90E++HUeweoOEoIxOWaJfbx4PHnTSP4QxbT3hvF9CHnAARC73rTFORKHTe6X6PjsrJEEX2eukbOy9iqLzPuQoNvrNBCIeqBBtXIMFwKAugz2bfMuYwciK1Rg7KfyuU6Tr6TO4swksY29wkn5NgH2oMWpAcbxlNXZs1bAg46RkjI8yneLM1CA5GWz/Tn5YzsbrAVBaCUIeZIzpx6G8FUqaaHZx0pX+A==;
Received: from [151.51.116.149] (helo=NovaWebSEPC)
by server.nova-web.eu with esmtpsa (TLSv1:AES256-SHA:256)
(Exim 4.80.1)
(envelope-from <[email protected]>)
id 1ZKRgE-0004a8-K6
for [email protected]; Wed, 29 Jul 2015 15:45:59 +0200
Return-Receipt-To: "Nova Web SE" <[email protected]>
 
Back
Top