Can't seem to solve DKIM fail (bad signature)

RVandenbussche

Verified User
Joined
Mar 11, 2018
Messages
8
Hi Guys,

I have a problem with my E-com site where e-mails to Hotmail customers land in their Spambox. I've checked everything and it looks like DKIM fails, which might be the problem. I've read a lot of posts and tried most stuff I found, but with no luck. I recently checked other domains on the same VPS and their DKIM doesn't fail.

I've tested it through http://www.appmaildev.com/en/dkim and this is the result:
Code:
Report-Id: 863a6d3b
Sender: srs@speedropeshop.nl
Source-IP: 37.97.152.13
Validator-Version: 1.05
x-sender: srs@speedropeshop.nl
x-receiver: test-863a6d3b@appmaildev.com
Received: from server.speedropeshop.com ([37.97.152.13]) by appmaildev.com with Microsoft SMTPSVC(8.5.9600.16384);
	 Mon, 12 Mar 2018 06:58:07 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=speedropeshop.nl; s=x;
	h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:From:Date:Subject:To; bh=7pAGGGDlqRXKvm6DddEIyETQvJUifYibiBerybe6Z2c=;
	b=HwR6cJhISvTSuueLQEvVtYdhdUz9WKT1YjzdIfwTno5K0ah29xCmLHhEOvcIeZQw1MT7FnlMhM/+WW9XT05zb+cO5BPIchqO4+NVgOszKiK2SF88n+6vW9Q3xO0VZvsq8AM6tGPwop5o5kkYC4iwKDavWieI4WRcinKuhjrSuOe78nHzu89nenR+Z0+2MiSY2TTLePXj+QCD05xVeJRvIFUB0qDUXopL5gyURNMSSouOHb55dTEgXe8Ao5OrHb7ngO5YOynAk4YOh1Dfh1x0D0aBqqMA2v5c1MqOGFaXMhVUO2A1Awfk68Jsxj1XvdlHaLOLWCWUrkl6I5ziAavPeQ==;
Received: from srs by server.speedropeshop.com with local (Exim 4.83)
	(envelope-from <srs@speedropeshop.nl>)
	id 1evHPL-0004Dq-8d
	for test-863a6d3b@appmaildev.com; Mon, 12 Mar 2018 07:58:07 +0100
To: test-863a6d3b@appmaildev.com
Subject: =?UTF-8?Q?=F0=9F=92=AA_Awesome!_Bedankt_voor_je_bestelling_(SRS1805419)_b?=  =?UTF-8?Q?ij_Speed_Rope_Shop?=
X-PHP-Originating-Script: 1004:class.phpmailer.php
Date: Mon, 12 Mar 2018 06:58:07 +0000
From: Speed Rope Shop <contact@speedropeshop.nl>
Message-ID: <fd459d2bcea349e2dc0a0eec3d14d859@speedropeshop.nl>
X-Mailer: PHPMailer 5.2.23 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="b1_fd459d2bcea349e2dc0a0eec3d14d859"
Content-Transfer-Encoding: 8bit
Return-Path: srs@speedropeshop.nl
X-OriginalArrivalTime: 12 Mar 2018 06:58:08.0353 (UTC) FILETIME=[7A34DD10:01D3B9CF]
Code:
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=speedropeshop.nl; s=x;
	h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:From:Date:Subject:To; bh=7pAGGGDlqRXKvm6DddEIyETQvJUifYibiBerybe6Z2c=;
	b=HwR6cJhISvTSuueLQEvVtYdhdUz9WKT1YjzdIfwTno5K0ah29xCmLHhEOvcIeZQw1MT7FnlMhM/+WW9XT05zb+cO5BPIchqO4+NVgOszKiK2SF88n+6vW9Q3xO0VZvsq8AM6tGPwop5o5kkYC4iwKDavWieI4WRcinKuhjrSuOe78nHzu89nenR+Z0+2MiSY2TTLePXj+QCD05xVeJRvIFUB0qDUXopL5gyURNMSSouOHb55dTEgXe8Ao5OrHb7ngO5YOynAk4YOh1Dfh1x0D0aBqqMA2v5c1MqOGFaXMhVUO2A1Awfk68Jsxj1XvdlHaLOLWCWUrkl6I5ziAavPeQ==;
Signed-by: contact@speedropeshop.nl
Expected-Body-Hash: 7pAGGGDlqRXKvm6DddEIyETQvJUifYibiBerybe6Z2c=
Public-Key: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3iPXwhwKEfKpljBdUNkIKLu78ewjbrWDAS234fXM+8ISPop48QVLR3lIFf+uIxn34e6EvLf63YWz8kbA8AetTKIaj6eicfyY9fUma3OfJtMG7vQB9JB+PdExurosb8UZlpbvYQJNGNyWOJidj4Vde6eBpn1ZKGzZkFVeIJESslJialJfnciWxMPLeKwOO12TA82uBBwzQ4/qaKv0lTqFEccNQjbW6om4ZAG39gjMmaKZcsjsABMYG924rtn+CmzkVsOtvKYl/nn3FMtX+S7ihjs0gNrbx9TEUPvzVRzGuyJKI1b3h3glBuuN1VwUPzKSCZkCtZZAAqCfw1ENJHJcxwIDAQAB;

[B]DKIM-Result: fail (bad signature)[/B]
Same with GlockApp on Microsoft mails it lands in spam:
Code:
spf=pass (sender IP is 37.97.152.13) smtp.mailfrom=speedropeshop.nl; glockeasymail.com; dkim=fail (signature did not verify) header.d=speedropeshop.nl;glockeasymail.com; dmarc=pass action=none header.from=speedropeshop.nl;
I hope you guys can help. I'm getting pretty desperate now.
 

Peter Laws

Verified User
Joined
Sep 13, 2008
Messages
1,812
Location
London UK
FWIW, Hotmail can drop email in junk boxes even when everything passes....... I'm having this issue, still trying to find out why..
 

RVandenbussche

Verified User
Joined
Mar 11, 2018
Messages
8
I found out that copying DKIM key from directadmin places spaces in the key. That's why it's failed. Still finding out why outlook 365 puts it in spam.



@peter
Have you tried glockapps yet?

I read something about that my server is .com and my domain is .nl and somehow outlook 365 doesn't accept DKIM then. It needs to share public keys, still need to investigate.
 

Awd

Verified User
Joined
Aug 9, 2015
Messages
316
Check if your dkim key maybe have some spaces, DA breaks the key sometimes and when you copy/past a record there could be unwilling spaces in the key.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,035
Location
Maastricht
@Peter Laws:
still trying to find out why..
Your issue is not only a DKIM issue. You should reply in your own thread if you still searching to find things out, because it's probably something completely different. Especially if you don't follow suggestions made in that thread (see my post #3) or don't post the outcome in there.

@Rvandenbussche: I'm curious about the outcome of your test too.
And indeed check Awd's tip!
 

RVandenbussche

Verified User
Joined
Mar 11, 2018
Messages
8
Partly solved

Hi Guys,

A little update: I got a little further in the process. DKIM doesn't fail at most email providers anymore. It was exactly the problem Awd said. I'm a little embarrassed about this.

However: Outlook 365 doesn't validate the DKIM. I understand that they use a stricter validation. And this is the problem:

My server is called server.domainname.com which has several domains hosted. The domain i'm trying to send email from is domainname.nl. If I send emails from domainname.com it gets passed through Outlook 365 strict DKIM validation. I think this can be setup just like a bulkemailer sending mail for other domains, but I don't know how to set this up. Does anyone has an idea?
 

RVandenbussche

Verified User
Joined
Mar 11, 2018
Messages
8
As addition on above:

When sending an email by the system (Wordpress) it says:

Code:
from username by server.domainname[U].com[/U] with local (Exim 4.83) (envelope-from <username@domainname[U].nl[/U]>) id 1evt3q-0001d8-45; Wed, 14 Mar 2018 00:10:26 +0100
It might be solved as well when system doesn't send mails from the server.domainname.com but from domainname.nl. How do I change this?
 

RVandenbussche

Verified User
Joined
Mar 11, 2018
Messages
8
Fixed!

Hurray, I fixed it!
After all it was something little but I couldn't find much on it on the interwebs.

Outlook / Hotmail seems pretty strict on handling DKIM and you need to specify which parts will be present in your header. Here is the solution if you get this error on Outlook, Hotmail: dkim=fail (signature did not verify).

If you didn't follow this tutorial yet please do it now.

After this go to the exim.dkim.conf file and add the following line in the bottom:

Code:
dkim_sign_headers = from:user-agent:message-id:date
The line above might be a little different on your setup. Here's how to find out what yours might be.

Look at your DKIM header. Mine said:

Code:
from user by server.domain.com with local (Exim 4.83) (envelope-from ) id xx-0000123-0K; Mon, 19 Mar 2018 21:04:41 +0100
So my kim_sign_headers = from (from user by server.domain.com):user-agent(with local (Exim 4.83)):message-id (id xx-0000123-0K;):date(Mon, 19 Mar 2018 21:04:41 +0100)

You can choose from the following list:
Code:
to:from:subject:message-id:date:user-agent:mime-version:content-transfer-encoding
restart the exim service (service exim restart)

and DKIM should be all good with Outlook / Hotmail.

I've tested everything with glockapps.com it helped A LOT!
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,035
Location
Maastricht
Thank you for sharing, however, did you also tried without that line, after you followed the Directadmin tutorial?

Because I don't have that line in my exim.dkim.conf and it does not seem necessary when your Exim -is- sending the dkim headers.
The documentation for this option says:
OPTIONAL: When set, this option must expand to (or be specified as) a colon-separated list of header names. Headers with these names will be included in the message signature. When unspecified, the header names recommended in RFC4871 will be used.
So in your case the RFC4871 headers are used, but you are now overriding them with this option, which in fact sends the same headers as when you did not include that line.

I just tested at glockapps (thanks for the tip), and my result was 95,8% to inbox. Missing 2,8% which are to some Brazilian email address, to Network Solutions which for some reason used a wrong Sender IP 209.17.115.190 which I never used or send e-mail via, so this is a problem on their side. Some freenet.de email addres... So everything was fine.

I had 0 analysis and 0 suggestions so this is great. And this is without the line you described, but with the default configuration which was made by following first the activation of dkim and after that the DA tutorial for it sevearl months ago.

So imho your tips are great but the extra line in exim.dkim.conf does have no use if you already see exim headers in your mail. Please correct me if I'm wrong.
 

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
88
Code:
from user by server.domain.com with local (Exim 4.83) (envelope-from ) id xx-0000123-0K; Mon, 19 Mar 2018 21:04:41 +0100
Mine looks like this:

Code:
Received: from DNS ([IP] helo=NAME PC)
	by srv.DOMAIN.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
	(Exim 4.90_1)
	(envelope-from <server@DOMAIN.com>)
	id 1eyBSN-0000cg-HI
	for RECEIVER; Tue, 20 Mar 2018 08:13:15 +0100 Date: Tue, 20 Mar 2018 08:13:15 +0100

I also tried:
Code:
dkim_sign_headers = from:user-agent:message-id:date
but signature still fails (hotmail only). Which code should I use?
 

RVandenbussche

Verified User
Joined
Mar 11, 2018
Messages
8
...So imho your tips are great but the extra line in exim.dkim.conf does have no use if you already see exim headers in your mail. Please correct me if I'm wrong.
Exim says it sends more headers that it actually does. Outlook and Hotmail see it as an altered DKIM header because system says it sends A, B, C, D and E but it only receives B, C and E. So in their terms it fails.

I've tested it on my server and it works. The email still lands in spam (because of content) but DKIM is a pass.

Share your "Exchange (Office365)" header maybe I can help.
 

RVandenbussche

Verified User
Joined
Mar 11, 2018
Messages
8
Code:
from user by server.domain.com with local (Exim 4.83) (envelope-from ) id xx-0000123-0K; Mon, 19 Mar 2018 21:04:41 +0100
Mine looks like this:

Code:
Received: from DNS ([IP] helo=NAME PC)
	by srv.DOMAIN.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
	(Exim 4.90_1)
	(envelope-from <server@DOMAIN.com>)
	id 1eyBSN-0000cg-HI
	for RECEIVER; Tue, 20 Mar 2018 08:13:15 +0100 Date: Tue, 20 Mar 2018 08:13:15 +0100

I also tried:
Code:
dkim_sign_headers = from:user-agent:message-id:date
but signature still fails (hotmail only). Which code should I use?
Can you try this:

dkim_sign_headers = from:user-agent:message-id:to:date
 

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
88
Can you try this:

dkim_sign_headers = from:user-agent:message-id:to:date
Unfortunately did not work :-( Keep getting signature did not verify

My signature with standard exim.dkim.conf
Code:
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=DOMAIN.com;
	 s=mailsrv; h=Content-Transfer-Encoding:Content-Type:Subject:To:From:Date: Sender:Reply-To:Message-ID:Cc:MIME-Version:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=5RYXHm07USLm4lMEysPCZkqQqWhdajZhtl6/lUeqBX4=; b=bdq6XKBkTZTutxqr0FVhagBjSC GVHWICfMb/AGWGyaKnUVgTx4YsHUl8fWl6Zx11ohL25iDW1LvclpRiQq2q3AOuI1HPZ0//pvkCgc0 nThYwKzuIa8o7KKKxquJx9yOJ+SMtKqRfZEnEv+n6dXIwhhgnaAOYGYJl28f2X02Nxb3K4X+UvipO YOcGEWTeojJaaxzCR5PvY7evGRTRfGRq4YinVt/bySO9Y5vx4lX2v0+nLVcN0ndKDMCLiTcrBhpr2 OBdLudxPM7Xqp+IrKw1KYyzDoIVnB75xlaFntAyDrzDkcBK6bA8ZPLQew7uy6qUwZphvf4DLFnrUm eft8y+mA==;
Received: from XXX.access.telenet.be ([00.00.00.00] helo=NAS01) by srv.DOMAIN.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from <nasserver@DOMAIN.com>) id 1eyNOF-0002zU-08 for RECEIVER; Tue, 20 Mar 2018 20:57:47 +0100
My signature with the edited exim.dkim.conf
Code:
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=DOMAIN.com;
	 s=mailsrv; h=To:From:Date:user-agent:message-id; bh=5RYXHm07USLm4lMEysPCZkqQqWhdajZhtl6/lUeqBX4=; b=jdUASSgTW2aTEBVtugPD+e98gX oyN7NZQPgnhELZmsgLPFCQCOHPw7ieAKUW4bKWs0uha8fpYmMuw2aehqu161JikXcpTiIL+G0yXqX 3t0M9VCt8PS5pUrhr5shNo5ICZF3hVBMBEwa/JYwBXH8CK/bZN/dypxnUX1sVbFmxqori5sUikhV5 DioyD8q+rH8FhdXLBKupEj6OkA4SAgGJyPXd+bc/b+fOlUXzcKIFYHOs5vrRA/P9R3WKzmhIzeqiu a3REj8tRVmpOYNW8EMbc1am/dFpmmHqQ90ODQ5936T9oxmYcLIDI9yOarV3xDe9l7F8YuXu//2tr1 OtYoJP5Q==;
Received: from XXX.access.telenet.be ([00.00.00.00] helo=NAS01) by srv.DOMAIN.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from <nasserver@DOMAIN.com>) id 1eyNPO-00030E-6b for RECEIVER; Tue, 20 Mar 2018 20:58:58 +0100
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,035
Location
Maastricht
Share your "Exchange (Office365)" header maybe I can help.
I don't have any office365 or exchange header not using exchange or office 365. As you could see from my test my systems don't have any issue. But thank you for offering the help!
And for the explanation about the changed header.
 

RVandenbussche

Verified User
Joined
Mar 11, 2018
Messages
8
@richard. You can use the headers in Glockapp. So you're saying your Outlook (office 365) is not spam?
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
5,035
Location
Maastricht
@RVandenbussche: Correct, that's what's I'm saying.
Mine was all green, gave 100% and specs said 98,6% inbox and 1,4% tabs.
Exchange (Office365) Inbox: 100.00%
Same for normal Outlook and anything else, except for (as said) Network solutions which used a wrong sender ip (can only be an error on their side) and @web.de which did not receive any mail.

And this is all without using these extra lines in dkim_sign_header. And I'm using the default exim.dkim.conf version 1.2.

If you want me to post the DKIM header from glockapps with office 365, just say so and I'll post it here.
 

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
88
So I did again some testing with adding the suggested line to exim.dkim.conf

dkim_sign_headers = from:user-agent:message-id:to:date


DKIM SIGNATURE WITH STANDARD exim.dkim.conf - DKIM FAIL SIGNATURE DID NOT VERIFY
Code:
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=DOMAIN.be; s=mailsrv; h=Content-Transfer-Encoding:Content-Type:Subject:
	To:From:Date:Sender:Reply-To:Message-ID:Cc:MIME-Version:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
	List-Subscribe:List-Post:List-Owner:List-Archive;
	bh=YV3MWHBoeO/4gYzb1A0idZQxtM6tpSEGkSfKFeg8is8=; b=R1bzHCVSqEH8879hMHnIj1YK9i
	xa5UHlDyGI4/Bqs4ojo8fW9XWKU+u0EKhL2DEvwQXOQ/eYMxBzZYL8v2uvTV/2HZE2aP22PXrq9JK
	A20ac+zzPAmLURGLQRbx/RIPverZIZJMxSda/+8M/CwMZGnirfBw437kHhd8tMyX+5cz3gjV1Nk5T
	aXI0wx9KWlqTx7Cf5FmaJPr4WqfrDhNxZdd24YMq71Gu5u3acI08ed/CtiojLPJRQgMDQtk9BFX92
	X0iy/nEFp8N6aRpokD+oMo9qP88ZX6bEyul4BOMwdXlD5sBFNBT/MLqGMftXTg1JrmYTPKDq3V/SF
	D5dEwTeg==;
Received: from XXX.evonet.be ([00.00.00.00] helo=NAS01)
	by srv.DOMAIN.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
	(Exim 4.90_1)
	(envelope-from <nasserver@DOMAIN.be>)
	id 1eyiOF-0004l1-VH
	for XXX.tr@hotmail.com; Wed, 21 Mar 2018 19:23:12 +0100
DKIM SIGNATURE WITH EXTRA LINE in exim.dkim.conf - DKIM FAIL SIGNATURE DID NOT VERIFY
Code:
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=DOMAIN.be; s=mailsrv; h=To:From:Date:user-agent:message-id;
	bh=YV3MWHBoeO/4gYzb1A0idZQxtM6tpSEGkSfKFeg8is8=; b=nYPt5yNg1bWjgXUr3MPdd7rlR2
	tzvlI5eEZOY7leptuPtR4CSzy0YTlT5VaHaNubIpWj5DGjEx+uOve+4/CVwjMV/kdebkgAJ9qi9MG
	xkVRWAJksbhjdYAuzmXq2ENzcdYzkBLcPyU4ZtCcZ2ud21EJCwYKiIhT/Z31dfNUkXPhH3vOXFRlH
	PBvwKY9Ffi8Fajba2ESLhum9W5inAmA+rm+GF3BoerK3RbZJxhQvbNcx7pSC5sFGVKWCIf8r/Iw2l
	yqoCdwoLxADP9KOlsgE80C6VHxdZVMN7SWKuZ4lgutAWimwBzvyADu/dS8aNBKDpmkVBR8amXkpKJ
	JWbIJhZQ==;
Received: from XXX.evonet.be ([00.00.00.00] helo=NAS01)
	by srv.DOMAIN.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
	(Exim 4.90_1)
	(envelope-from <nasserver@DOMAIN.be>)
	id 1eyiQ8-00058Y-5f
	for XXX.tr@hotmail.com; Wed, 21 Mar 2018 19:25:08 +0100
DKIM SIGNATURE WHEN I SEND MAIL FROM MY GOOGLE ACCOUNT TO HOTMAIL - DKIM PASSED
Code:
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=DOMAIN.net; s=google;
        h=message-id:date:from:to:subject:content-transfer-encoding;
        bh=jliHLFFND49gGn+b7k3tBiqK4iv8J7Eq7GUnSwT1Anw=;
        b=ZAp5K8Tx051FN2BhJR4qwSSAQsbEs67pbAUsIMHOrWTYebOwDVHUPPBYEHy77ssXhg
         djTVoEPjBScod4+Ml9VQGsVahy9b2uXn5dYb+FitE0QsFAHxTnVqdv3otbgtyxF7Fs3r
         29rmcBZPO5AUUwc/Q/QiAvpqFQPwNxL+Dutts=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:message-id:date:from:to:subject
         :content-transfer-encoding;
        bh=jliHLFFND49gGn+b7k3tBiqK4iv8J7Eq7GUnSwT1Anw=;
        b=RwNBhBzXhmV14jPUDlquBgOL+GUdV1cT4O74UU/00tcNeac4CHoRFYUN+x3DZar57/
         yVMFWPnjThHMgbsBzHRUXpjvz+LCYQTVxPZ7+t0F5qv30wtfPRx7Qzwqn2Sw25mgUWdU
         YX/cvd61Qv1nwKrhOiEjLR1q7ZVlrwLPaJRtBP8ibOckg8ep3+mY4u4WuRtoAEagx7Hu
         kZsqE7X40uZgthbeGSzyKXOh5/NJ+D4KUmNAL5YoCtOR71trmKrnf1SX++/KCNESzw8R
         9GjX/8HJarWMC8LGFBa7j86N9mf57wsoCbNO4yOmR2KuqY6O5nA4fiv8adUSqOp16jAQ
         kvHg==
X-Gm-Message-State: AElRT7FBv6LPp/AnMINyc8OkdOrG4lJn8C/Wad9awNdbfoGM2ASD0QjC
	Bs9RJyg0hzFoZXqpZGFLf+9c9aCpIzg=
X-Google-Smtp-Source: AG47ELs/k0QfTamfOfoEPLnQQSAt94FkpWqUGmVQcH3wiNxKYKF75HWR54/YEgYJpxDGfREPEy83mg==
X-Received: by 10.223.177.145 with SMTP id q17mr14429989wra.26.1521656532791;
        Wed, 21 Mar 2018 11:22:12 -0700 (PDT)
Return-Path: XXX@DOMAIN.net
Received: from NAS01 (ptr-XXX.ip6.access.telenet.be. [00.00.00.00])
        by smtp.gmail.com with ESMTPSA id w19sm4748303wrg.52.2018.03.21.11.22.12
        for <XXX.tr@hotmail.com>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 21 Mar 2018 11:22:12 -0700 (PDT)
When I'll send mail from my server to Gmail account either the mail with the standard or entered exim.dkim.conf are DKIM passed.

Any one that can try to help me to solve this?
Now all my mails are still send to Junkmap by Microsoft.


EDIT:

When I send email throught webmail (Dovecot) then DKIM signature PASS !!!
So I think there is something wrong with EXIM when you send mail via SMTP account.

DKIM SIGNATURE WITH STANDARD exim.dkim.conf - DKIM PASS
Code:
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=DOMAIN.be; s=mailsrv; h=Content-Transfer-Encoding:Content-Type:
	MIME-Version:Reply-To:To:From:Subject:Date:Message-ID:Sender:Cc:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
	List-Subscribe:List-Post:List-Owner:List-Archive;
	bh=/aVM0U4NeoHRereo991VGgtVWt8r7Xx/zgMpvdiLm5M=; b=C0yeuxkVtaVdp+nd6bHvNPLtuN
	oHZyjo1/rzfZ3ZxJcQ6JFolLwUWz7NqPag3xJuKDCpyzspZSnvTlhAcdpar/++59BVsJC3LgfgC3h
	FkcsSDvlKyDHiedoiOBVURv3UW8VBBGyhnKeuWNHQUFg2CIduBbtrYcTY8Nb77dvHNWFd++Ms57E4
	GDEtJqh2s6a4zqCdwTuXUwoUgt199ujQU9rRF+ay0pofNQKT+rjV1RZLVVPTfnJmEGGpGXuAIcoLt
	0sMyWpnzQPRbdFyRW2SsR4302/GnZRWoz1azN5riO2YSuF7pAy5Rki/Ck84oNRRfZiAttuMOuw+BP
	Yri+JhSg==;
Received: from localhost ([127.0.0.1] helo=www.DOMAIN.be)
	by srv.DOMAIN.com with esmtpa (Exim 4.90_1)
	(envelope-from <info@DOMAIN.be>)
	id 1eyiip-0000PB-Ch
	for XXX.tr@hotmail.com; Wed, 21 Mar 2018 19:44:27 +0100
Received: from 00.00.00.00
        (SquirrelMail authenticated user info@DOMAIN.be)
        by www.DOMAIN.be with HTTP;
        Wed, 21 Mar 2018 19:44:27 +0100
 
Last edited:
Top