problem with changing body hash in DKIM signature in mail with Cyrillic mails through zimbra web-client

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
dikolal
Posts: 3
Joined: Thu Aug 17, 2017 12:20 pm

problem with changing body hash in DKIM signature in mail with Cyrillic mails through zimbra web-client

Postby dikolal » Mon Sep 11, 2017 7:25 am

Hello!
I use Zimbra 8.7.4 OSE (problem was sisnce 8.0.6) in production
I've got the problem with changing body hash in DKIM signature in mail with Cyrillic mails through zimbra web-client.
Here is example sending email to gmail

Received-SPF: pass (google.com: domain of dkolenkov@trans-service-1.com.ua designates 94.153.241.210 as permitted sender) client-ip=94.153.241.210;
Authentication-Results: mx.google.com;
dkim=pass header.i=@trans-service-1.com.ua header.s=selector1 header.b=ikEt+7ey;
dkim=neutral (body hash did not verify) header.i=@trans-service-1.com.ua header.s=selector1 header.b=gWNFiIH6;
spf=pass (google.com: domain of dkolenkov@trans-service-1.com.ua designates 94.153.241.210 as permitted sender) smtp.mailfrom=dkolenkov@trans-service-1.com.ua;
dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trans-service-1.com.ua
Received: from localhost (localhost [127.0.0.1]) by mail2.trans-service-1.com.ua (Postfix) with ESMTP id 37B9AB1DB0; Thu, 17 Aug 2017 11:46:11 +0300 (EEST)
Received: from mail2.trans-service-1.com.ua ([127.0.0.1]) by localhost (ts1pst0.oliyar [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 2BZrA-ZvFI4B; Thu, 17 Aug 2017 11:46:11 +0300 (EEST)
Received: from localhost (localhost [127.0.0.1]) by mail2.trans-service-1.com.ua (Postfix) with ESMTP id 12534B1DB2; Thu, 17 Aug 2017 11:46:11 +0300 (EEST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail2.trans-service-1.com.ua 12534B1DB2
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trans-service-1.com.ua; s=selector1; t=1502959571; bh=ylQ72ZhZ94c68vhd1YTi08sQ3P2i0OERU4jq2ADz+0s=; h=Date:From:To:Message-ID:MIME-Version; b=ikEt+7ey6REopIe5HuqOYRrDSQURYhvvMRUnOTxXfv4BV2btnnsmYOP3ELV9ZbxsF
W+i1q5aJTe2lrkA0WXrn0hEodlXSmm2K+p7d5sRDd5909XHxZj5HkPgF/tHUtjo2RN
dLLB+wSqOcNzmqQCMtLWvE+1etkIHHcZlBnMeCBU=
X-Virus-Scanned: amavisd-new at ts1pst0.oliyar
Received: from mail2.trans-service-1.com.ua ([127.0.0.1]) by localhost (ts1pst0.oliyar [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OLr1Ia7IrQym; Thu, 17 Aug 2017 11:46:11 +0300 (EEST)
Received: from ts1pst0.oliyar (ts1pst0.oliyar [192.168.200.70]) by mail2.trans-service-1.com.ua (Postfix) with ESMTP id E266EB1DB0 for <dkolenkov@gmail.com>; Thu, 17 Aug 2017 11:46:10 +0300 (EEST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail2.trans-service-1.com.ua E266EB1DB0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trans-service-1.com.ua; s=selector1; t=1502959570; bh=xahD0Ct2WAxGraIskrmiadn10FIjwlTp9KSXf6h4ZEU=; h=Date:From:To:Message-ID:MIME-Version; b=gWNFiIH6+1oiysbsuf/QRfKZ0x9mFV7XRj+6vbIN1ANgCfanTpHctee465nRm/RNb
0wKQ3VGkdKiVpPl1CZPywxmaidJzDNSW0GXDzMTiDcvwm8FNAoCQt7Fwdq4alO38I6
dyvDrb65uXlf24FOggnt8xYWeeeo7gnSGc8BqbF4=
Date: Thu, 17 Aug 2017 11:46:10 +0300 (EEST)
From: dkolenkov@trans-service-1.com.ua
To: dkolenkov <dkolenkov@gmail.com>
Message-ID: <1461109485.264277.1502959570851.JavaMail.zimbra@trans-service-1.com.ua>
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Thread-Index: tUEqMOCle8vuXpc33WAVD6lrSvi+tw==
Thread-Topic: test
Content-Transfer-Encoding: quoted-printable



--=20
=D0=B7 =D0=BF=D0=BE=D0=B2=D0=B0=D0=B3=D0=BE=D1=8E,
=D0=9A=D0=BE=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE=D0=B2 =D0=94=D0=BC=D0=B8=D1=82=
=D1=80=D0=BE
=D1=81=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D0=BD=D0=B8=D0=B9 =D0=B0=D0=B4=D0=BC=
=D1=96=D0=BD=D1=96=D1=81=D1=82=D1=80=D0=B0=D1=82=D0=BE=D1=80
=D0=A2=D0=B7=D0=9E=D0=92 =D0=A2=D1=80=D0=B0=D0=BD=D1=81-=D0=A1=D0=B5=D1=80=
=D0=B2=D1=96=D1=81-1


but original mail (view original in zimbra web-client) has Content-Transfer-Encoding: 8bit



with english only symbols mail daesn't changes body hash:

ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@trans-service-1.com.ua header.s=selector1 header.b=iZHGaNfE;
dkim=pass header.i=@trans-service-1.com.ua header.s=selector1 header.b=tDlQ1N3S;
spf=pass (google.com: domain of dkolenkov@trans-service-1.com.ua designates 94.153.241.210 as permitted sender) smtp.mailfrom=dkolenkov@trans-service-1.com.ua;
dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trans-service-1.com.ua
Return-Path: <dkolenkov@trans-service-1.com.ua>
Received: from mail2.trans-service-1.com.ua (mail2.trans-service-1.com.ua. [94.153.241.210])
by mx.google.com with ESMTPS id f87si1373584lji.123.2017.08.17.01.56.47
for <dkolenkov@gmail.com>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Thu, 17 Aug 2017 01:56:47 -0700 (PDT)
Received-SPF: pass (google.com: domain of dkolenkov@trans-service-1.com.ua designates 94.153.241.210 as permitted sender) client-ip=94.153.241.210;
Authentication-Results: mx.google.com;
dkim=pass header.i=@trans-service-1.com.ua header.s=selector1 header.b=iZHGaNfE;
dkim=pass header.i=@trans-service-1.com.ua header.s=selector1 header.b=tDlQ1N3S;
spf=pass (google.com: domain of dkolenkov@trans-service-1.com.ua designates 94.153.241.210 as permitted sender) smtp.mailfrom=dkolenkov@trans-service-1.com.ua;
dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trans-service-1.com.ua
Received: from localhost (localhost [127.0.0.1]) by mail2.trans-service-1.com.ua (Postfix) with ESMTP id 23640B1DB0; Thu, 17 Aug 2017 11:56:47 +0300 (EEST)
Received: from mail2.trans-service-1.com.ua ([127.0.0.1]) by localhost (ts1pst0.oliyar [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bTDvefihXM8M; Thu, 17 Aug 2017 11:56:47 +0300 (EEST)
Received: from localhost (localhost [127.0.0.1]) by mail2.trans-service-1.com.ua (Postfix) with ESMTP id F31BAB1DB2; Thu, 17 Aug 2017 11:56:46 +0300 (EEST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail2.trans-service-1.com.ua F31BAB1DB2
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trans-service-1.com.ua; s=selector1; t=1502960207; bh=zS7KNTV0HyeorkDDGwxB1AV6enuRKzO5rthkhdHIRnY=; h=Date:From:To:Message-ID:MIME-Version; b=iZHGaNfEfv0rML+//OCewAes0+gAfsZWeSczrm4jBWMeiNT2wPaHYnuNlVOF4Xpsq
U32kRvcHgeOr0SiDoJyaP3MOvgqBhLjUk9cd4pooKDimVoiAAG383SLfpj+NreNzTO
9/U06aINFwswK9DLrsia8pArlP90Fk3iA42d2qNI=
X-Virus-Scanned: amavisd-new at ts1pst0.oliyar
Received: from mail2.trans-service-1.com.ua ([127.0.0.1]) by localhost (ts1pst0.oliyar [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id X4Usotz0cPRI; Thu, 17 Aug 2017 11:56:46 +0300 (EEST)
Received: from ts1pst0.oliyar (ts1pst0.oliyar [192.168.200.70]) by mail2.trans-service-1.com.ua (Postfix) with ESMTP id CB76AB1DB0 for <dkolenkov@gmail.com>; Thu, 17 Aug 2017 11:56:46 +0300 (EEST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail2.trans-service-1.com.ua CB76AB1DB0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trans-service-1.com.ua; s=selector1; t=1502960206; bh=zS7KNTV0HyeorkDDGwxB1AV6enuRKzO5rthkhdHIRnY=; h=Date:From:To:Message-ID:MIME-Version; b=tDlQ1N3SnRQIGX97y8SoAQ9iOMMKY8l6xgGi2ZbPvWeYtGe1kN/ymL/8UUxbQkMeI
cDyRV8OCCnZhVxuXM+nOStTmIeA70nwGZYnyVxZ5pQOwDJfmggOhNTGVSyxX53qqnS
7KWWW9gV0zkzOWqONfn4dzgqjsWkUlt5VZe+VcBQ=
Date: Thu, 17 Aug 2017 11:56:46 +0300 (EEST)
From: dkolenkov@trans-service-1.com.ua
To: dkolenkov <dkolenkov@gmail.com>
Message-ID: <1874386940.265499.1502960206778.JavaMail.zimbra@trans-service-1.com.ua>
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Thread-Index: PC5P5yGD4nr8IVeSHKuTX/0OxW5eoA==
Thread-Topic: test

hello



with MS Outlook mail sends in Content-Transfer-Encoding: Base64 and everything is just fine.

how can I avoid encoding Cyrillic or perform dkim signing after this encoding?


dikolal
Posts: 3
Joined: Thu Aug 17, 2017 12:20 pm

Re: problem with changing body hash in DKIM signature in mail with Cyrillic mails through zimbra web-client

Postby dikolal » Mon Sep 25, 2017 11:36 am

Any suggestions?

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 28 guests