Email problem to gmail/hotmail

cwfie

Verified User
Joined
Aug 3, 2005
Messages
91
Hi All,

I know this problem has been addressed many times on the DA forums, but I just did not find the answer. :(

The situation is as follows (personal information has been replaced):

- Gmail rejects mail:

(generated from root@<server>.<domain>.com)
SMTP error from remote mail server after end of data:
host gmail-smtp-in.l.google.com [2a00:1450:4013:c01::1b]:
550-5.7.1 [2a02:348:b4:e752::1 12] Our system has detected that this
550-5.7.1 message is likely unsolicited mail. To reduce the amount of spam sent
550-5.7.1 to Gmail, this message has been blocked. Please visit
550-5.7.1 http://support.google.com/mail/bin/answer.py?hl=en&answer=188131 for
550 5.7.1 more information. ew10si2629603wic.18 - gsmtp

- Hotmail delivers the mail, but in the SPAM folder. Header looks ok:

x-store-info:4r51+eLowCe79NzwdU2kR3P+ctWZsO+J
Authentication-Results: hotmail.com; spf=pass (sender IP is 85.xxx.xxx.xx) [email protected]; dkim=none header.d=<domain>.com; x-hmca=pass [email protected]
X-SID-PRA: [email protected]
X-AUTH-Result: PASS
X-SID-Result: PASS
X-Message-Status: n:n
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD02
X-Message-Info: M98loaK0Lo0L1N3eEsbcXJEZMrPoVWRsHv8wImRHkUdHTHd1sFhuESwzcHCwQ03ZhQ/yyutpPmhnIomWKVhElBt5ref+2HO/1J5yasASFM/ia1j9czDC/9hf60rQsC5X2k/A/m46VB/rvAR/pe8xBz3qTXhKbGvLAI/H4idemkqMaQ/Oke37izK2NqYLmbDP28XOfiBqT6u+9NHUytdo2TEXqLybsRL2
Received: from <server>.<domain>.com ([85.xxx.xxx.xx]) by BAY004-MC2F35.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22712);
Sat, 26 Jul 2014 04:34:15 -0700
Received: from localhost ([127.0.0.1] helo=<server>.<domain>.com)
by <server>.<domain>.com with esmtpa (Exim 4.76)
(envelope-from <[email protected]>)
id 1XB0Ev-00009W-Uy
for [email protected]; Sat, 26 Jul 2014 13:34:14 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
format=flowed
Content-Transfer-Encoding: 7bit
Date: Sat, 26 Jul 2014 13:34:13 +0200
From: [email protected]
To: [email protected]
Subject: Hoi
Message-ID: <7a1fd96eabee8a9b770ba4cc0edcfb4f@<domain>.com>
X-Sender: [email protected]
User-Agent: Roundcube Webmail/1.0.2
Return-Path: [email protected]
X-OriginalArrivalTime: 26 Jul 2014 11:34:15.0873 (UTC) FILETIME=[87E10B10:01CFA8C5]

- Gmail log (exim mainlog):

2014-07-26 13:25:51 1XB06o-0008UK-Ul ** [email protected] <root@<server>.<domain>.com> F=<> R=lookuphost T=remote_smtp: SMTP error from remote mail server after end of data: host gmail-smtp-in.l.google.com [2a00:1450:4013:c01::1a]: 5$
2014-07-26 13:25:51 1XB06o-0008UK-Ul Frozen (delivery error message)

- Hotmail log (exim mainlog):

2014-07-26 13:34:16 1XB0Ev-00009W-Uy => [email protected] F=<my_email@<domain>.com> R=lookuphost T=remote_smtp S=643 H=mx4.hotmail.com [65.54.188.94] X=UNKNOWN:ECDHE-RSA-AES256-SHA384:256 C="250 <7a1fd96eabee8a9b770ba4cc0edcfb$
2014-07-26 13:34:16 1XB0Ev-00009W-Uy Completed

- Facts


Help

If anyone can guide me here, it would be appreciated. Thanks :)
 
Last edited:
Personally I do use dkim, the article is written like it's very new but it has been like that for a couple of years now I think. It works fine.

Other than that, it may not be the mail server, but how the mail is being sent (headers and such), and what the contents are.
 
Personally I do use dkim, the article is written like it's very new but it has been like that for a couple of years now I think. It works fine.

Other than that, it may not be the mail server, but how the mail is being sent (headers and such), and what the contents are.

Thanks for your response.
I don't think it's the content/header, I've tested multiple e-mails (also filled with content).. Maybe DKIM will help to deliver my mails ?! :)
 
It's always one big mix of a lot of factors; so try to be valid on as many ways as possible. You can certainly try it; however I don't think not having dkim is a 100% deal-breaker.
 
@cwfie, My guess is that you have ipv6 enabled on your server and that there is a ipv6 address wich you do not use (beacuse you use ipv4), and that the emails is marked as spam because exim send the emails from your ipv6 address but that you only have ipv4 address in your spf. If my guess is correct, then you need to either disable ipv6 on your server, or add the ipv6 address to the existing spf records for your domains. If you want to add your ipv6 address to the spf records, then please see this: http://www.directadmin.com/features.php?id=1549
 
@cwfie, My guess is that you have ipv6 enabled on your server and that there is a ipv6 address wich you do not use (beacuse you use ipv4), and that the emails is marked as spam because exim send the emails from your ipv6 address but that you only have ipv4 address in your spf. If my guess is correct, then you need to either disable ipv6 on your server, or add the ipv6 address to the existing spf records for your domains. If you want to add your ipv6 address to the spf records, then please see this: http://www.directadmin.com/features.php?id=1549

Hi Ditto,

Thanks for your help.
Even though the machine does have an ipv6 address, I believe Exim is using the ipv4 address, which you can see in the header from hotmail:

Authentication-Results: hotmail.com; spf=pass (sender IP is 85.xxx.xxx.xx)

Is this correct or am I missing something and would it still be smart to disable ipv6 or add an spf? :)
 
It's always one big mix of a lot of factors; so try to be valid on as many ways as possible. You can certainly try it; however I don't think not having dkim is a 100% deal-breaker.

Thanks, DKIM has been configured, let's wait 4 hours for the DNS (ttl) :)
 
[..cut]
Even though the machine does have an ipv6 address, I believe Exim is using the ipv4 address, which you can see in the header from hotmail:

Is this correct or am I missing something and would it still be smart to disable ipv6 or add an spf? :)

I still feel that your machine ipv6 could be the problem. From your "- Gmail log (exim mainlog):" in there I can see a ipv6 address.

The reason that I am making the guess about ipv6 problem, is because I have read many forum posts in these forums from people having problem sending email to gmail and hotmail, and the problems was often solved by disabling ipv6 in the machine or adding the ipv6 to the spf records.

I can't say I am correct in your case, but my gut feeling is that this is your problem.
 
That may certainly explain gmail, in my experience gmail is not that hard to deal with compared with hotmail. With hotmail you can be valid on all ends and still somehow end up in the spam folder. I think they have their own weird set of anti spam rules. Also if you reply back to a mail, new mails wont get in to spam for you so you think it's fixed; but then for others it still does.
 
That may certainly explain gmail, in my experience gmail is not that hard to deal with compared with hotmail. With hotmail you can be valid on all ends and still somehow end up in the spam folder. I think they have their own weird set of anti spam rules. Also if you reply back to a mail, new mails wont get in to spam for you so you think it's fixed; but then for others it still does.

Thanks so much!! :) It solved my gmail issue.
Hotmail still the same, maybe I have to be a little patient and check tomorrow?
 
@cwfie, try to set the following new line in etc/exim.conf:

Code:
disable_ipv6 = true

Then restart exim and test again. I found this here: http://forum.directadmin.com/showthread.php?t=47856 and here is the external link to email mail list about it: http://www.gossamer-threads.com/lists/exim/users/92653#92653

Thanks for your help, I did it by using:
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.all.disable_ipv6=1

Your way seems smarter though.
Anyway, I do not need ipv6 on my machine for now :)
 
@cwfie, Thank you for sharing your solution. Let's hope that the other hotmail-problem will be solved because you added dkim, maybe it will be solved once dns is propagated.
 
Update:
Gmail/Yahoo work perfectly now after disabling ipv6.

Hotmail now mostly results in spf + dkim = temperror.
Explanation: http://www.openspf.org/FAQ/Hotmail_and_TempError
([email protected] is not working anymore)

Apparently I have to use this form:
http://www.microsoft.com/mscorp/safety/technologies/senderid/resources.mspx

And click "Submit a request to have your domain added to the SIDF cache".

However after I click I don't see a form where to add a domain (only forms for IP's).

Horror continues :( :)
 
Same issue with hotmail (Windows live mail) today.

SPF=temperror (dkim=pass now). Anyone knows how to contact Windows live or resolve this issue any other way? :)
 
Back
Top