DKIM signature valid or not valid?

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
83
Hi,

I have successfully installed DKIM some weeks ago. Ran some tests and DKIM are valid, however not on dkimvalidator.com and Hotmail/Office 365 receiver.

Let me explain. We send a mail to a client with a PDF file of his order. According to Google the DKIM, SPF and DMARC is valid (pass)
But when we send a copy of this mail to Office 365 I have a DKIM failed.

Several online tools are telling me that the DKIM signature is valid, expect one.
There I see this error:

Validating Signature

result = fail
Details: body has been altered

On a mail from Office 365 or hotmail acount I see this : dkim=fail (signature did not verify)


So what is wrong?
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,218
Location
Maastricht
It should normally not fail on the dkimvalidator.com website.

Are you using Custombuild 1.2 or Custombuild 2.0?
How exactly did you install DKIM?
Which version of Exim are you using?
Which version of exim.conf are you using?
 

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
83
Im using Custombuild 2.0
I followed this article to install DKIM: https://help.directadmin.com/item.php?id=569
Version Exim 4.89_1
Exim conf Version 4.5.7


I now did several testing, and seems that it has nothing to do with the PDF file. Even when I send mails without PDF have same error.
And I have exactly the same when I send the email from Squirrelmail. But only when I use the following body:




In bijlage de transportopdracht voor 04/12/2017, BE-20 Antwerpen Katoennatie - Luithagen – BE-23 Westmalle CIB Magazijn Westmalle.






---------------------------------------------------------------------------------------------------
Naam bedrijf
straat, postcode city, België
Tel.: telefoonnr | Fax: faxnummer


xxx@****.com | https://www.****.com


All our transactions are subject to the Belgian Freight Forwarders Standard Trading conditions 2005.
The text of those conditions has been published under number 0090237 in the Annexe au Moniteur Belge dated June 24th, 2005, and is also available on our website.


(I removed some private data)


Then I have following error in hotmail:


Authentication-Results: spf=pass (sender IP is xx.xx.xx.xx)
smtp.mailfrom=****.com; hotmail.com; dkim=fail (body hash did not verify)
header.d=****.com;hotmail.com; dmarc=pass action=none
header.from=****.com;


When I send the mail with another body I have DKIM pass. (also on dkimvalidator.com)
There I have following error:


Public Key DNS Lookup




Building DNS Query for mailsrv._domainkey.****.com
Retrieved this publickey from DNS: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxjIlKDuaHvM2yvjUTXDKZLNpPQKOEsOiaHcUPS/6UTm5dU5PQ8T7eC7Y9HLOrLL/PQKlH3xqw9K/hHJF4Xrdyx4B6Btc8l3gZFyhgUW07YOKuHDt113hvUZBkjg/S4TKWfJkSzvK7MXgWxoJA+5uNcSUhzaKk7jVn4ahperQXSdCYPMf/EYGzaDDjUYQ/FrSFgJWc57xE7mN10Fd7KErNI5zCg+xX1yULrE/Tz1VoYtulEWPbBSA7fQnYvV2lJ0zfP1cEHbSWlR7EpZ6qe9yW1de5oQDb4GMCtyyzgNoCeGN7DgJQtyIEyotS7RtKZ5n62wXDuDa7JqhoBWjCU2iqwIDAQAB
Validating Signature




result = fail
Details: message has been altered




So what is wrong and how is this possible?
It seems that only DKIM is failed when I use a specific body message.


When I send same mail from my Google account I have DKIM pass. So it's only Exim is affected. Maybe a bug?
 
Last edited by a moderator:

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
83
I did some further testing. And found out the following.

If the body message is like this:
In attachment the order for 04/12/2017, BE-20 Antwerpen
DKIM = passed.

If the body message is like this
In attachment the order for 04/12/2017, BE-20 Antwerpen –
DKIM = failed

So this "–" is giving the error. Why?

And some special characters like ë also have same problem.


When I remove al special characters DKIM validator is now passed.
However on hotmail receivers i still receive this error: smtp.mailfrom=****.com; hotmail.com; dkim=fail (signature did not verify)
 
Last edited by a moderator:

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
83
So DKIM validator is now passed. But hotmail receivers have DKIM failure when I send mail from my application. When I send the exact same message from Squirrelmail DKIM is passed.
So it seems that now only my application is causing an error (app is sending mails via smtp).


Can somebody help me to figure out what is causing the error?


This is the header from Squirrelmail = DKIM passed:
Code:
Received: from DM3NAM03HT157.eop-NAM03.prod.protection.outlook.com
 (2603:10a6:800:a9::16) by VI1PR09MB0479.eurprd09.prod.outlook.com with HTTPS
 via VI1PR0802CA0030.EURPRD08.PROD.OUTLOOK.COM; Mon, 4 Dec 2017 09:51:49 +0000
Received: from DM3NAM03FT020.eop-NAM03.prod.protection.outlook.com
 (10.152.82.56) by DM3NAM03HT157.eop-NAM03.prod.protection.outlook.com
 (10.152.83.168) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.282.5; Mon, 4 Dec
 2017 09:51:47 +0000
Authentication-Results: spf=pass (sender IP is xx.xx.xx.xx)
 smtp.mailfrom=****.com; hotmail.com; dkim=pass (signature was verified)
 header.d=****.com;hotmail.com; dmarc=pass action=none
 header.from=****.com;
Received-SPF: Pass (protection.outlook.com: domain of ****.com designates
 xx.xx.xx.xx as permitted sender) receiver=protection.outlook.com;
 client-ip=xx.xx.xx.xx; helo=srv.x****.com;
Received: from srv.****.com (xx.xx.xx.xx) by
 DM3NAM03FT020.mail.protection.outlook.com (10.152.82.193) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
 15.20.282.5 via Frontend Transport; Mon, 4 Dec 2017 09:51:47 +0000
X-IncomingTopHeaderMarker: OriginalChecksum:1F946C728989B5BF47D22D3D03AD6B1BDB14AE7546C36CFC2B8440586CBD996A;UpperCasedChecksum:BE04ECA7594008310D750FFC901082F41C7B3FA9F41FCFA5E1EC318F59086F47;SizeAsReceived:1664;Count:14
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=****.com;
     s=mailsrv; h=Content-Type:MIME-Version:To:From:Subject:Date:Message-ID:
    Sender:Reply-To:Cc:Content-Transfer-Encoding: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=3a7snL/yeTrT5v5if8RMtwHA8K6kTd5ArxgcIGO1oxY=; b=tOBQdWlmjZP4TybLiieV+gZ/wD
    WlHu4shVbKL8UxiPKYu8U10N0nkH14dnhGyNeeVkTvnhRSlAOFILLTSE64SrnegNY8SD8TClNTQw9
    A2XzXpVTLyi+wz/hRlDn0qIVoBNO4m15YNvYUZFICz11gQguzXYfsZxkX1xzTFTlmOF3oo5DQxePT
    xhLnCUfWcX00W1lVFeT/rmbOO0cAD4sS+TjQj7xQJvuwSs608Y49LAA+KNEfRUx/g7fOtnQeXVyeC
    BDfBZE8bPUDnLUuWzYQvHUKQBf3f+tPwNUu3+OC2pHMYQtYTe9E1yIlvhEFaKbxWYye/04ggi2XHe
    lW7lRc+Q==;
Received: from localhost ([127.0.0.1] helo=[xx.xx.xx.xx])
    by srv.****.com with esmtpa (Exim 4.89_1)
    (envelope-from <planning@****.com>)
    id 1eLnPe-0001tJ-2M
    for xxx.tr@hotmail.com; Mon, 04 Dec 2017 10:51:46 +0100
Received: from 84.196.115.176
        (SquirrelMail authenticated user planning@****.com)
        by xx.xx.xx.xx with HTTP;
        Mon, 4 Dec 2017 10:51:46 +0100
Message-ID: <25eef12af5304fc1b1ecb3d067498f0c.squirrel@xx.xx.xx.xx>
Date: Mon, 4 Dec 2017 10:51:46 +0100
Subject: ETM - Transportopdracht 174270
From: planning@****.com
To: xxx.tr@hotmail.com
User-Agent: SquirrelMail/1.4.23 [SVN]
Content-Type: multipart/mixed;boundary="----=_20171204105146_70722"
X-Authenticated-Id: planning@****.com
X-IncomingHeaderCount: 14
Return-Path: planning@****.com
X-MS-Exchange-Organization-Network-Message-Id: 79c43ff3-bf66-40e9-90f9-08d53afca278
X-EOPAttributedMessage: 0
X-EOPTenantAttributedMessage: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa:0
X-MS-Exchange-Organization-MessageDirectionality: Incoming
X-Microsoft-Exchange-Diagnostics: 1;DM3NAM03FT020;1:lUJLFzLIwyGXZ4T183F5DFdNhJFvXJpRV/KYdubm3vhQrNFAvZbVPLf9JJy+nU4RgEjrFh7OT/nToeLEwf9c7hr3VUA9pTh0KWlq3tV2BePkykFNrVOpw/jVwVG7zN1Z
X-Forefront-Antispam-Report: EFV:NLI;SFV:NSPM;SFS:(98901004);DIR:INB;SFP:;SCL:1;SRVR:DM3NAM03HT157;H:srv.****.com;FPR:;SPF:None;LANG:;
X-MS-Exchange-Organization-AuthSource: DM3NAM03FT020.eop-NAM03.prod.protection.outlook.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 79c43ff3-bf66-40e9-90f9-08d53afca278
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(5000109)(4604075)(4605076)(610169)(650170)(651021)(8291501071);SRVR:DM3NAM03HT157;
X-Microsoft-Exchange-Diagnostics: 1;DM3NAM03HT157;3:Dj746eDDD0CJgKc/4Ii3AWcGG044aH+plaz9Xkj7LbVgZjSpI30MlZag07cY/jOERMSKV69uolmrME8C4Sq16EppMiaQP5/mVZHDcSa1lLpK5legcKb4X0y1fl0tzDuaEzEAPYvzHAeMjL55zBXbkXrrwakfCPwTqvgj2ieeBSCMnNI3TsdzYOSgwnn5+TWYj4jippiIcFuhuChG97u+s0cTtImCh+u8pFZ6CYiBmz+yd60OxOMpqCkHyN2m8cr1Nl3qyFrvx1L6/0dqSZFv0XlXLdCPXx/uCEdQBGFn5MjXM1hzUtwiWWCPwB6CUx1E;25:QJr3/jrOKQrIQHu86PLZshAYs3PjNQF2D0+U4HzkDiqcEN9z07ZXw7BbVSYBP6U1xwrrrWUyGhpZ0qgavQXR0aEMmQHXI+7s8UotxKJcjCMgWBgC1ormgJwjDYZvr12ppsrDan3pL4syJgwEcnN6DLGdTkr7xIQCJuDH53CSj12fl2uprjhdXcnrdkm0G3XV2pfxriLAYjLZQC8Thm+STDua5tg+cyaicuJ4au/l5pL3W20G1kAo+wf/gWHBJIXQ2n2rIJSiDhLp/lu4a3l/yNbKv7qFA/FiSsD4iQ3tBG88esnrJrjtkJDhLQXtJR94PMvGnBWr0gX0zvXtarcsGQ==;31:njsJrRydGptX6SMZ3WoCVjf5m7sHUYLn0dbcdJKTmTPdkhR2K7N77ymarUZjfSOF69j58uu5HFvV9/gY2152AGtSncsx6WV2pj/vfYQgdVv5RIh+ejApTvRf3aXavRJGTX2QmTfLGxNEtF0zNWyCVXo8py9gKuH1gTw4N1trR1I4aGJOcw4+NcbWtMaZZK/FJZI76+KrVcE1lcwzKGsW4RdDrcU3EyB/WMj4qZxbDR0=
X-MS-TrafficTypeDiagnostic: DM3NAM03HT157:
X-MS-Exchange-EOPDirect: true
X-Sender-IP: xx.xx.xx.xx
X-SID-PRA: PLANNING@****.com
X-SID-Result: PASS
X-MS-Exchange-Organization-PCL: 2
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(444111536)(595095)(102415395)(82015058);SRVR:DM3NAM03HT157;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:DM3NAM03HT157;
X-Microsoft-Exchange-Diagnostics: 1;DM3NAM03HT157;4:mcT1OcJhc3IrUY3HHAh6GlJJCAZlZzSF98v763SXxr4uHrX1P8/BOdiNHHWQwwjYoZshd9gUHH7rn3JRbSNJIQVEnYGK9+bNzDQuVuu7rNlDqg6odUPIOYyU2I9bZJkNp9OrxOU7SjYdGc/88Esd2wa2xG0DwOhMXchLeurk+9fMS7+zrU8Zx/5dpeBICNnekerB2ocNpM5ommlXxBdzlPdFkCDgoT2RR9eHrDi4WZ9ZGluuTm9k5xe6IsrhzTiUCv8odnzenEMSdbXx0fGL8Q==;23:4jX/pItBGlTai/UvlFlQUVoPBzVhsXsHMLv1Mfe6XXYYfRnpwzWtLOR7O4xMfZjYR5czpxjkZasx+Cxi7DTxF9/J2EnR24GrP+qHbYHhp0aarlTZ9dwFabTk3WSKvXen+ne34vGgTc7iDaMalKc8MJHtuK6C6SeDJ0WNgTJbljs=;6:dvy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fEE2XmA48g0
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2017 09:51:47.1804
 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 79c43ff3-bf66-40e9-90f9-08d53afca278
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3NAM03HT157
X-MS-Exchange-Transport-EndToEndLatency: 00:00:01.8359749
X-MS-Exchange-Processed-By-BccFoldering: 15.20.0282.012
X-Microsoft-Exchange-Diagnostics:
    1;VI1PR09MB0479;27:XPUh5xcTp3xd2G6SLzUBkizoBXzS9ajaes4T2WPLaPJMVqSAow/4dszSg+gQxw5mqYVHzz6tEJwoPJlvCq39VA2PnI0/Xqy4HNxhkjxHnIaUayaj/sBsuwhNaoeteZr6
X-Microsoft-Antispam-Mailbox-Delivery:
    abwl:0;wl:0;pcwl:0;kl:0;iwl:0;dwl:0;dkl:0;rwl:0;ex:0;auth:1;dest:J;ENG:(400001000128)(400125000095)(5062000261)(5061607266)(5061608174)(4900095)(4920089)(6375004)(4950112)(4990090)(9140004);RF:JunkEmail;OFR:SpamFilterAuthJ;
X-Message-Info:
    qoGN4b5S4ypTLxUqS0rzAQI0uqxBpSUWIv8Ot0OQaJnbLV9kbhNvDuR1U97OOjQY/WsRpWnmCmZOvB8t3YzAvfh/zvzJniB57NHQN+TuYijIC+VhC35jfFXvAQ1k8f64RxHm6J1NZPXfV+9r2b8I/0EydqRQB6AFsgei4XjizIWpTAaiBXbX08QhafmUa5LBSsNt3Os172EAKVQvbASHUw==
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD02
X-Microsoft-Antispam-Message-Info:
    CepEEFoQN98uYM58vX2D4adiKYoKZFEYReh8aJohAhd/Y8F5lVKDj9zkk347Wrkou8yzLMvUDXZ2O6UJEujHwSnR3N3wQIig9Xd7GFgg60+5j1R0+BUE9Yfq4AysruzXmkROQutO9p9okVzHo99xXe6W6iDcNs4je6TCNFyJjoQvWqrd7Uqel7SzRYE15bw+l+Z5q0M4ckqh1R2N33E7GxbYLoOGwHQChJ5UxTgMz92QtGe3cc9KfG7W4gWMuLWoUXYIQaiOYXEoJggw6vZdDg==
MIME-Version: 1.0


------=_20171204105146_70722
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Microsoft-Exchange-Diagnostics:
    1;VI1PR09MB0479;27:XPUh5xcTp3xd2G6SLzUBkizoBXzS9ajaes4T2WPLaPJMVqSAow/4dszSg+gQxw5mqYVHzz6tEJwoPJlvCq39VA2PnI0/Xqy4HNxhkjxHnIaUayaj/sBsuwhNaoeteZr6
X-Microsoft-Antispam-Mailbox-Delivery:
    abwl:0;wl:0;pcwl:0;kl:0;iwl:0;dwl:0;dkl:0;rwl:0;ex:0;auth:1;dest:J;ENG:(400001000128)(400125000095)(5062000261)(5061607266)(5061608174)(4900095)(4920089)(6375004)(4950112)(4990090)(9140004);RF:JunkEmail;OFR:SpamFilterAuthJ;
X-Message-Info:
    qoGN4b5S4ypTLxUqS0rzAQI0uqxBpSUWIv8Ot0OQaJnbLV9kbhNvDuR1U97OOjQY/WsRpWnmCmZOvB8t3YzAvfh/zvzJniB57NHQN+TuYijIC+VhC35jfFXvAQ1k8f64RxHm6J1NZPXfV+9r2b8I/0EydqRQB6AFsgei4XjizIWpTAaiBXbX08QhafmUa5LBSsNt3Os172EAKVQvbASHUw==
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD02
X-Microsoft-Antispam-Message-Info:
    CepEEFoQN98uYM58vX2D4adiKYoKZFEYReh8aJohAhd/Y8F5lVKDj9zkk347Wrkou8yzLMvUDXZ2O6UJEujHwSnR3N3wQIig9Xd7GFgg60+5j1R0+BUE9Yfq4AysruzXmkROQutO9p9okVzHo99xXe6W6iDcNs4je6TCNFyJjoQvWqrd7Uqel7SzRYE15bw+l+Z5q0M4ckqh1R2N33E7GxbYLoOGwHQChJ5UxTgMz92QtGe3cc9KfG7W4gWMuLWoUXYIQaiOYXEoJggw6vZdDg==

This is the header from my application = DKIM failed


Code:
Received: from VE1EUR02HT142.eop-EUR02.prod.protection.outlook.com
 (2603:10a6:800:a9::30) by VI1PR09MB0479.eurprd09.prod.outlook.com with HTTPS
 via VI1PR0802CA0044.EURPRD08.PROD.OUTLOOK.COM; Mon, 4 Dec 2017 09:50:59 +0000
Received: from VE1EUR02FT047.eop-EUR02.prod.protection.outlook.com
 (10.152.12.52) by VE1EUR02HT142.eop-EUR02.prod.protection.outlook.com
 (10.152.13.154) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.239.4; Mon, 4 Dec
 2017 09:50:58 +0000
Authentication-Results: spf=pass (sender IP is xx.xx.xx.xx)
 smtp.mailfrom=****.com; hotmail.com; dkim=fail (signature did not verify)
 header.d=****.com;hotmail.com; dmarc=pass action=none
 header.from=****.com;
Received-SPF: Pass (protection.outlook.com: domain of ****.com designates
 xx.xx.xx.xx as permitted sender) receiver=protection.outlook.com;
 client-ip=xx.xx.xx.xx; helo=srv.****.com;
Received: from srv.****.com (xx.xx.xx.xx) by
 VE1EUR02FT047.mail.protection.outlook.com (10.152.13.237) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
 15.20.239.4 via Frontend Transport; Mon, 4 Dec 2017 09:50:58 +0000
X-IncomingTopHeaderMarker: OriginalChecksum:2A5122EC519BB42A3F22465790DA7768275B56C891B6F040BC900B933A4B7208;UpperCasedChecksum:5B6C632813D66E72722F9B12E6E7A4E40702FE1FA282669B68B33D1E8B0F8B16;SizeAsReceived:1337;Count:10
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=****.com;
     s=mailsrv; h=Date:Content-Transfer-Encoding:Content-Type:Mime-Version:To:
    Subject:From:Sender:Reply-To:Message-ID: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=uWJQ4yf6xpe/LCscKpxcvfLrBo3oE1WDCQBksnZBER0=; b=ByhM/udRdVuW9jFsJDdtfI6X/g
    6L68rXAM+hg9e572N6u04NMW5fydBySjJQKwKERvBV6iqzXaIisADKcHe1E6Fme7cxKmsJNslM/4o
    LBfXiwlOu0t3LVly+jhNK75uiOX8n4icYBiyEKh4nDIIPsiD13CNfokPsQw+l/9oLrMKb2nb1lPJ6
    kY6Il73j4ekrqUD2Vw9ZLaP3LV4N5a7BQSKAA19e42xAVJP1xwo3htf5RgzkAPn3f8l6+W79iLME9
    u4HaRAOqK/VIRiZDtjftwudn+UHFk0uya1ob6bPK95SKYvCG75rkzdwHo43/tXXuI4YWTmKzjdc6e
    i1+kvuFg==;
Received: from [xx.xx.xx.xx] (helo=xxx)
    by srv.****.com with esmtpa (Exim 4.89_1)
    (envelope-from <planning@****.com>)
    id 1eLnOr-0001sz-UU; Mon, 04 Dec 2017 10:50:58 +0100
From: planning@****.com
Subject: ETM - Transportopdracht 174270
To: joachimsegers.tr@hotmail.com
Content-Type: multipart/mixed;
    boundary="XWDBoundary_HTML_91227174"
Content-Transfer-Encoding: 8bit
Date: Mon,  4 Dec 2017 10:50:56 +0100
X-Authenticated-Id: planning@****.com
X-IncomingHeaderCount: 10
Message-ID: <fea5eb39-9663-49ec-a2ae-658f7a1cb079@VE1EUR02FT047.eop-EUR02.prod.protection.outlook.com>
Return-Path: planning@****.com
X-MS-Exchange-Organization-Network-Message-Id: 7916cc46-b0ff-4450-6abc-08d53afc8541
X-EOPAttributedMessage: 0
X-EOPTenantAttributedMessage: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa:0
X-MS-Exchange-Organization-MessageDirectionality: Incoming
X-Microsoft-Exchange-Diagnostics: 1;VE1EUR02FT047;1:FGbLv0eJfyg0ASI+NjzHfDcpCJeNuvMoTNkh4wqIJGKFbhtJ/AFVzl2rdnZNX2RjRr8aGjQ6ImhNtIVX+JXD+zApJffl2C2iAvjxebfsCG4rhbU50gn047xoQORnYbhc
X-Forefront-Antispam-Report: EFV:NLI;SFV:NSPM;SFS:(98901004);DIR:INB;SFP:;SCL:1;SRVR:VE1EUR02HT142;H:srv.****.com;FPR:;SPF:None;LANG:;
X-MS-Exchange-Organization-AuthSource: VE1EUR02FT047.eop-EUR02.prod.protection.outlook.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 7916cc46-b0ff-4450-6abc-08d53afc8541
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(5000109)(4604075)(4605076)(610169)(640170)(650170)(8291501071);SRVR:VE1EUR02HT142;
X-Microsoft-Exchange-Diagnostics: 1;VE1EUR02HT142;3:tkYFjnu8Nr7JBP6SnmJxBHc6RtzzXO4DiasDSrnz2FdHZxHWvjdXxlKyn1tNuixF55yOqICwS5MUTPm3hJbgcF9IamDUmYhjNEqsdMNVH2kwalaJhvu1dXQO48EyNXCcX/C/H+b60dVi5O7noTvzgDAqbEn5ChH+T9wM2KMSwu4vJmtErHYYPZiv5EZNFDcMm7/XF06wbOSpsugCTZ3tSEbMw+mXvhOQM1QGMPmQzuEdPni1lNwXRNGSGY3l34/oJPBDb2mQgt8YuEAmZxHiQMM3rurHepgZKvS6pK6H7PEe0RJlM35l6U3SeBrLThcU;25:+6+ZmQeVCGLvIpN/4KalKp4Lc13FOEdvZ4Ss5CSBpnP56fwk7WqX05lZ6i7buMVvYIcp8FM8RDdRO5n3keSCh8ogTFJLg5rnTmRbzMEoNqQd6G39VRommpD0ZUyDzLYHoW/aCLJyUBRQdhoDc/22nidYmOuIwFCv10uYEj9P7ZSZr/OC+Nsby6CzRDriEN8JbornPVlxGUxGR+S5SFp2Vo02qB111pAHFRqs/BSBTkIoogkAxlDmI4HQAY6WGc1AbRVgDfCvZMFYLdH61fN/ihkPIWWnxPUQqGsjbyQnQWXUz8eSonNvBdicdB8IhqzbQ0pFX3M9GH3TmEuPSr0Qjg==;31:s2R7GmwT6KxAvi28Qr3FwybOmadBoU2dhcZYiXs8OGiqBnoJ/P4ap8Lp9FhngXKW3k9DoamyUwxIW3xsp8VSPrh1R1081rLC9UlwCvYf6CymYxoYXH8YUXIYyiuHi7g6n9tPv3BnCE9bBsEeHQkB8ZOEVt2jfOT1pVXNVw2n3RpKlHUhlJhEgZPbQywHZD0+PKS3Gp64kM1ZqAQJ0bM7RMLo5Y3PsdHMk7YglkLzf5c=
X-MS-TrafficTypeDiagnostic: VE1EUR02HT142:
X-MS-Exchange-EOPDirect: true
X-Sender-IP: xx.xx.xx.xx
X-SID-PRA: PLANNING@****.com
X-SID-Result: PASS
X-MS-Exchange-Organization-PCL: 2
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(444111536)(595095)(102415395)(82015058);SRVR:VE1EUR02HT142;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:VE1EUR02HT142;
X-Microsoft-Exchange-Diagnostics: 1;VE1EUR02HT142;4:5XQZndLnJR3ysUvhGKACU799luLAyFdT7ftd2F9YYiTmDgwNcTKTGPkjAz1GZYnNl0uYGZMno4dUB+kI3U7jWqu1gaSYo/v3C0E6g3+UmgnbVk22qilEHO4OtDvqBmjZ1Qnpr9hP+02bxTDlp25cX5kZdVGUPPLVOGNftMWBj+IGmiyd+hpA1QgK0p5Xd8OLGZyM0LL27JfGY7R47nCLnSZVsNC1qqYxLFtRx1cXDTWaTidyUjBoA7k+FTTDNIrHc9kaRmekRa0Ti7XwnqWEYw==;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Wo5GRsONEm9CNKfgz2Nl4QfHKaVXbPQ13QMOEUNTtaX+gKGORpp/0ZyH7EwRu
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2017 09:50:58.3838
 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 7916cc46-b0ff-4450-6abc-08d53afc8541
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR02HT142
X-MS-Exchange-Transport-EndToEndLatency: 00:00:00.6323462
X-MS-Exchange-Processed-By-BccFoldering: 15.20.0282.012
X-Microsoft-Exchange-Diagnostics:
    1;VI1PR09MB0479;27:vTrflm+oGllsaMZO+cQQEzhRX+QD0pyuBCqaAidcpDToUfGz7C4DvVaXXha/9PsN3MpxOoULix/FAgPr0FX0rwbcQKzzwYszscWdU/pkDpFxYfglNt7MB7lYRlaacZwj
X-Microsoft-Antispam-Mailbox-Delivery:
    abwl:0;wl:0;pcwl:0;kl:0;iwl:0;dwl:0;dkl:0;rwl:0;ex:0;auth:1;dest:J;ENG:(400001000128)(400125000095)(5062000261)(5061607266)(5061608174)(4900095)(4920089)(6375004)(4950112)(4990090)(9140004);RF:JunkEmail;OFR:SpamFilterAuthJ;
X-Message-Info:
    qoGN4b5S4yryOkeK4Eyl8E7YDJNlsVuCj3DDbGp3yDFmzP/UsJO14ZLiufiUw9VlDuZ1tEbwaoszZp+1jn87U3QeqYorPn1u8X71DSE2T0j62SK3hmNQXAHynMtKOVrvC/e+zGq2CDXaRw62BouXcJG2Rsz8YzPEK6KHhOgCE1yfv5zdKgXKzB55UJlUhxk9xQWG9sxyjTOlzputLVCi1A==
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD02
X-Microsoft-Antispam-Message-Info:
    5Ns/CcSw2ZGySiMVt5g6bzjfuzn0IYXDblvCXNHT8rZJ1T2JZ+QRPF8NqNPmzjWUCZtaBTrxGdsMTVTwBLfeogUUUCpkcUdxZK2TgF5koP6ASfQPov7mK/OXuSHUq8tYDXRjrCZAJ824c1q+pz3Fwc4QKyRaSHOXVfS9hL7bQtWK3RLMJPs+/+Our8/Ch5jC8h22rk/l+eRWXs9Bhi556whMDlRR/LBeaTsxJEBKwArdLEP1IRKMfFbzom6dc3YmzKFWrv7U07Ohpq9/enNTRQ==
MIME-Version: 1.0


--XWDBoundary_HTML_91227174
Content-Type: text/plain;
    charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Microsoft-Exchange-Diagnostics:
    1;VI1PR09MB0479;27:vTrflm+oGllsaMZO+cQQEzhRX+QD0pyuBCqaAidcpDToUfGz7C4DvVaXXha/9PsN3MpxOoULix/FAgPr0FX0rwbcQKzzwYszscWdU/pkDpFxYfglNt7MB7lYRlaacZwj
X-Microsoft-Antispam-Mailbox-Delivery:
    abwl:0;wl:0;pcwl:0;kl:0;iwl:0;dwl:0;dkl:0;rwl:0;ex:0;auth:1;dest:J;ENG:(400001000128)(400125000095)(5062000261)(5061607266)(5061608174)(4900095)(4920089)(6375004)(4950112)(4990090)(9140004);RF:JunkEmail;OFR:SpamFilterAuthJ;
X-Message-Info:
    qoGN4b5S4yryOkeK4Eyl8E7YDJNlsVuCj3DDbGp3yDFmzP/UsJO14ZLiufiUw9VlDuZ1tEbwaoszZp+1jn87U3QeqYorPn1u8X71DSE2T0j62SK3hmNQXAHynMtKOVrvC/e+zGq2CDXaRw62BouXcJG2Rsz8YzPEK6KHhOgCE1yfv5zdKgXKzB55UJlUhxk9xQWG9sxyjTOlzputLVCi1A==
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD02
X-Microsoft-Antispam-Message-Info:
    5Ns/CcSw2ZGySiMVt5g6bzjfuzn0IYXDblvCXNHT8rZJ1T2JZ+QRPF8NqNPmzjWUCZtaBTrxGdsMTVTwBLfeogUUUCpkcUdxZK2TgF5koP6ASfQPov7mK/OXuSHUq8tYDXRjrCZAJ824c1q+pz3Fwc4QKyRaSHOXVfS9hL7bQtWK3RLMJPs+/+Our8/Ch5jC8h22rk/l+eRWXs9Bhi556whMDlRR/LBeaTsxJEBKwArdLEP1IRKMfFbzom6dc3YmzKFWrv7U07Ohpq9/enNTRQ==
 
Last edited by a moderator:

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,218
Location
Maastricht
DKIM is failing because of the content change it says. I see a couple of differences here. 8bit (webmail) and 7 bit in your application.

In your application it says:
--XWDBoundary_HTML_91227174
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: 7bit
while a bit higher it says:
Content-Type: multipart/mixed;
boundary="XWDBoundary_HTML_91227174"
Content-Transfer-Encoding: 8bit
In Squirrelmail it's only that 8bit box once.


I'm no expert, but in webmail (Squirrelmail) I see this mentioned only once with 8 bit. Officially 7 bit should be fine. But my guess is that the "body has been altered" notice from DKIM has to do with the fact that a statement of 7 bit is changed to 8 bit further on.

My good guess is the application should have only one of those "Content-type" boxes, or they at least should be the same (8 bit or 7 bit). But again, I'm no expert in this.
 
Last edited:

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
83
Ok will see with our application developer if he can use only one 7 or 8 bit and try again. I keep you posted.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,854
Location
GMT +7.00
Please DO NOT post here porno links, if you want to use a fake domain you can use domain.com or example.com, not x*x.com.

All the porno links were removed.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,854
Location
GMT +7.00
As for your issue, the exim from directadmin by default uses selector with name x
And your emails are using selector mailsrv

Code:
[/COLOR][B][COLOR=#333333][/COLOR][/B][COLOR=#333333]s=mailsrv;
as you sure it's what you need?

and you have the correct selector in
/etc/exim.dkim.conf ?
 

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
83
Yes, that is changed in exim.dkim.conf.

The message is signed. On DKIM validator and Gmail I have DKIM pass. Only on hotmail/office 365 account I have DKIM fail = (signature did not verify).
And only for mails that are send from our aplication. But it is strange that only hotmail/office 365 give DKIM fail.

But we are now trying to change "Content-Transfer-Encoding: " problem and see if this solves the problem.
 
Top