Hello,
I have exactly the same issue besides time shift is just one hour. My timezone is Europe/Berlin.
I can’t confirm that this problem is caused by IMAP.
My setup:
Server is a vm on proxmox host
Kopano-webapp is running on a Univention Corporate Server (member) together with kopano-core and z-push app on it.
System clock is configured to timezone Europe/Berlin (localtime)
RTC is running on UTC
ntp is running for synchronisation
timezone is configured to Europe/Berlin in php.ini (apache, cgi, cli) and webapp/config.php
What I checked/tested is:
reset RTC to use localtime
checked postfix timezone
checked
https://help.univention.com/t/changing-timezone-doesnt-work-wrong-zonefiles/5643/17
checked
https://forum.kopano.io/topic/2467/kopano-8-7-1-imap-append-ignoring-timezone-for-internaldate?_=1613653897226&lang=de
most importantly when sending a mail within webapp to yourself the problem also exists. A raw-file logged at dagent and picture:
Return-Path: <max.mustermann@example.com>
Received: from ucs-mbr01c.intranet.example.com (127.0.0.1:33308)
by ucs-mbr01c (kopano-dagent) with LMTP;
Fri, 19 Feb 2021 22:11:42 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
by ucs-mbr01c.intranet.example.com (Postfix) with ESMTP id E601F10006C
for <max.mustermann@example.com>; Fri, 19 Feb 2021 22:11:41 +0100 (CET)
X-Virus-Scanned: by amavisd-new-2.10.1 (20141025) (Debian) at
intranet.example.com
X-Spam-Flag: NO
X-Spam-Score: -0.899
X-Spam-Level:
X-Spam-Status: No, score=-0.899 tagged_above=-1000 required=5
tests=[ALL_TRUSTED=-1, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1]
autolearn=disabled
Received: from ucs-mbr01c.intranet.example.com ([127.0.0.1])
by localhost (ucs-mbr01c.intranet.example.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 8hKFIPptgGxK for <max.mustermann@example.com>;
Fri, 19 Feb 2021 22:11:40 +0100 (CET)
Received: from ucs-mbr01c (localhost [127.0.0.1])
by ucs-mbr01c.intranet.example.com (Postfix) with ESMTP id 7CAC4100069
for <max.mustermann@example.com>; Fri, 19 Feb 2021 22:11:40 +0100 (CET)
Received: by ucs-mbr01c (kopano-spooler) with MAPI; Fri, 19 Feb 2021 22:11:39
+0100
Subject: Mail sent at 22:11
From: "Max Mustermann" <max.mustermann@example.com>
To: =?us-ascii?Q?max=2Emustermann=2Ede?=
<max.mustermann@example.com>
Date: Fri, 19 Feb 2021 21:11:39 +0000
Mime-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3 (Normal)
X-Mailer: Kopano 8.7.1
Message-Id: <kcis.46F2CCA4D48440088756533CB43D5CD2@ucs-mbr01c>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://ww=
w.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta name=3D"Generator" content=3D"Kopano WebApp v3.5.14.2539+111.1">
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8=
">
<title>Mail sent at 22:11</title>
</head>
<body>
<!-- begin sanitized html --><p style=3D"padding: 0; margin: 0;"><span st=
yle=3D"font-size: 10pt; font-family: tahoma, arial, helvetica, sans-serif=
;"><br /></span></p>
<!-- end sanitized html -->
webapp.png
I am running out of ideas where to look, what else to check and why webapp is not using my configured timezone.
Any help/support is very much appreciated!