Big webclient problem after update to 8.8.15 P8

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
sgiunchi
Posts: 21
Joined: Sat Sep 13, 2014 1:04 am

Big webclient problem after update to 8.8.15 P8

Post by sgiunchi »

I updated Zimbra 8.8.15 P6 to P8, with zextras.
Everything went smoothly, almost all users don't use webmail so I didn't notice the problem.

The problem is: all mails sent from local users show no body, only the attachments, in webmail (both ajax and html).
Emails are sent correctly, I see them complete with an IMAP client.
The problem is visible on all users' webmail, I tried disabling all zimlets and setting language to english, with no success.
The email show no content even if I open it in a tab or window.
Attachments
webmail_problem.png
webmail_problem.png (69.68 KiB) Viewed 3467 times
User avatar
zimico
Outstanding Member
Outstanding Member
Posts: 225
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.15 P3
Contact:

Re: Big webclient problem after update to 8.8.15 P8

Post by zimico »

Hi,
Could you show message's header of sending email and receiving email?
Regards,
Minh.
sgiunchi
Posts: 21
Joined: Sat Sep 13, 2014 1:04 am

Re: Big webclient problem after update to 8.8.15 P8

Post by sgiunchi »

zimico wrote:Hi,
Could you show message's header of sending email and receiving email?
Regards,
Minh.
Hi Minh, thanks for your answer.

I found that the problem is the mail signature: the sent mail from internal users all contain the same signature (with images) and is not visible in webclient.
If the user sends a mail without signature, with or without an additional attachment, the mail is shown correctly.
The problem came after upgrade, and is definitely the viewer part because I can't see correctly even emails sent before the upgrade.

This is the anonymized header for the internal email:

Code: Select all

Return-Path: <user1@zimbradomain.it>
Received: from mail.zimbradomain.it (LHLO mail.zimbradomain.it) (172.16.0.5)
 by mail.zimbradomain.it with LMTP; Thu, 19 Mar 2020 07:45:40 +0100 (CET)
Received: from mail.zimbradomain.it (localhost [127.0.0.1])
	by mail.zimbradomain.it (Postfix) with ESMTPS id D0F961B604FE;
	Thu, 19 Mar 2020 07:45:40 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by mail.zimbradomain.it (Postfix) with ESMTP id C19B61B60411;
	Thu, 19 Mar 2020 07:45:40 +0100 (CET)
X-Virus-Scanned: amavisd-new at zimbradomain.it
Received: from mail.zimbradomain.it ([127.0.0.1])
	by localhost (mail.zimbradomain.it [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id mf4zC4e5xlXL; Thu, 19 Mar 2020 07:45:40 +0100 (CET)
Received: from [10.0.0.167] (unknown [10.0.0.167])
	by mail.zimbradomain.it (Postfix) with ESMTPSA id 654E41B603AC;
	Thu, 19 Mar 2020 07:45:40 +0100 (CET)
Subject: Fwd: Re: proforma invoice 20-03-12 
References: <CADMSxsdXqkZKdzko-rjn5=X36Jjb6a3KY5BQSZ3o8-a=bzG3Sw@mail.gmail.com>
To: user3 <user3@zimbradomain.it>,
 "user4@zimbradomain.it" <user4@zimbradomain.it>,
 user2 <user2@zimbradomain.it>
From: user1 <user1@zimbradomain.it>
X-Forwarded-Message-Id: <CADMSxsdXqkZKdzko-rjn5=X36Jjb6a3KY5BQSZ3o8-a=bzG3Sw@mail.gmail.com>
Message-ID: <840df228-2332-dda2-e4e5-dd26e793a235@zimbradomain.it>
Date: Thu, 19 Mar 2020 07:45:40 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101
 Thunderbird/68.6.0
MIME-Version: 1.0
In-Reply-To: <CADMSxsdXqkZKdzko-rjn5=X36Jjb6a3KY5BQSZ3o8-a=bzG3Sw@mail.gmail.com>
Content-Type: multipart/alternative;
 boundary="------------6C31B5A7369C0349E4EC8CE6"
Content-Language: it

This is a multi-part message in MIME format.
--------------6C31B5A7369C0349E4EC8CE6
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Credo sia un certificato per il colore


Ufficio Spedizioni



------------------------------------------------------------------------

Le informazioni contenute in questo messaggio di posta elettronica e/o=20
nel/i file/s allegato/i, sono da considerarsi strettamente riservate. Il=20
loro utilizzo =C3=A8 consentito esclusivamente al destinatario del messag=
gio,=20
per le finalit=C3=A0 indicate nel messaggio stesso. Qualora riceveste que=
sto=20
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di=20
darcene notizia via e-mail e di procedere alla distruzione del messaggio=20
stesso, cancellandolo dal Vostro sistema; costituisce comportamento=20
contrario ai principi dettati dal Dlgs. 196/2003 il trattenere il=20
messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri=20
soggetti, copiarlo, od utilizzarlo per finalit=C3=A0 diverse.
Se non =C3=A8 necessario non stampare questa mail.

The information contained in this e-mail message and / or the attached=20
file (s) are to be considered strictly confidential. Their use is only=20
allowed to the recipient of the message for the purposes indicated in=20
the message itself. If you receive this message without being the=20
recipient, please kindly inform us by e-mail and proceed to the=20
destruction of the message, removing it from your system; constitutes=20
behavior contrary to the principles dlgs. 196/2003 to retain the message=20
itself, to divulge it in part, to distribute it to other subjects, copy=20
it or use it for different purposes.
If you do not need to print this mail.
------------------------------------------------------------------------



-------- Messaggio Inoltrato --------
Oggetto: 	Re: proforma invoice 20-03-12
Data: 	Wed, 18 Mar 2020 20:49:54 +0200
Mittente: 	externaluser <external@gmail.com>
A: 	user1 <user1@zimbradomain.it>
CC: 	user2 <user2@zimbradomain.it>,
user5 <user5@zimbradomain.it>



Buongiorno,
vi chiediamo di inviare safety sheet per questa tinta
Distinti saluti
And this is for the external mail:

Code: Select all

Return-Path: <external@gmail.com>
Received: from mail.zimbradomain.it (LHLO mail.zimbradomain.it) (172.16.0.5)
 by mail.zimbradomain.it with LMTP; Thu, 19 Mar 2020 11:31:07 +0100 (CET)
Received: from mail.zimbradomain.it (localhost [127.0.0.1])
	by mail.zimbradomain.it (Postfix) with ESMTPS id C71781B6025F;
	Thu, 19 Mar 2020 11:31:07 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by mail.zimbradomain.it (Postfix) with ESMTP id B19701B603B0;
	Thu, 19 Mar 2020 11:31:07 +0100 (CET)
X-Virus-Scanned: amavisd-new at zimbradomain.it
Authentication-Results: mail.zimbradomain.it (amavisd-new);
	dkim=fail (2048-bit key) reason="fail (body has been altered)"
	header.d=gmail.com
Received: from mail.zimbradomain.it ([127.0.0.1])
	by localhost (mail.zimbradomain.it [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id hP6MjdBwZtC2; Thu, 19 Mar 2020 11:31:07 +0100 (CET)
Received: from zimbradomain.it (unknown [172.16.0.4])
	by mail.zimbradomain.it (Postfix) with ESMTPS id 5D22A1B6025F;
	Thu, 19 Mar 2020 11:31:07 +0100 (CET)
Authentication-Results: localhost;
	iprev=pass (mail-qk1-f178.google.com) smtp.remote-ip=209.85.222.178;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=fail (body hash mismatch; body probably modified in transit)
		 header.d=gmail.com header.s=20161025 header.a=rsa-sha256;
	dmarc=pass header.from=gmail.com
Received: from mail-qk1-f178.google.com ([209.85.222.178])
	by zimbradomain.it stage1 with esmtp 
	(Exim MailCleaner) 
	id 1jEsSe-0002Fl-6e  
	from <external@gmail.com>; Thu, 19 Mar 2020 11:31:38 +0100
Received: by mail-qk1-f178.google.com with SMTP id f28so2302180qkk.13;
        Thu, 19 Mar 2020 03:30:56 -0700 (PDT)
X-MailCleaner-SPF: pass
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to
         :cc;
        bh=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=;
        b=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=;
        b=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==
X-Gm-Message-State: ANhLgQ1aOzY/N0i+gCfa8/wnZs2scDgJox3yvfhnHub6l/BIJ+HUkwGM
	tpK410AqPBvHWMLUIU/xrfFaE9NskAqMpJwKY2kaXw==
X-Google-Smtp-Source: ADFU+vuXs3/evkAnnLDcSTu2u8wwTt9uUQT/5nfWaWg4mSOA003VzL2GwpLnq1z1swpto/FYP44PCBKssZmwBw0jErY=
X-Received: by 2002:a25:77d3:: with SMTP id s202mr3561679ybc.409.1584613854119;
 Thu, 19 Mar 2020 03:30:54 -0700 (PDT)
MIME-Version: 1.0
References: <CADMSxsekO7zq_ATyeF+F_hz6HxFK1hV1atuFQSH6CbThvjfRRg@mail.gmail.com>
 <52099e31-23fd-cd22-2fb5-1798a95c39c8@zimbradomain.it> <CADMSxset+8-aDpD_tNVhYpAtgYx0SObgT3O2w6gD5h=HVjVWvw@mail.gmail.com>
 <5ddf0777-343f-d5a4-ba31-cc0e8016ddc5@zimbradomain.it> <26e0cd1b-19de-f530-4eeb-2e8af672def2@zimbradomain.it>
 <80089843-146a-2310-bd7d-61f5510be7b7@zimbradomain.it> <86cfee4d-5a50-d51c-1ed5-2fcc82f233aa@zimbradomain.it>
 <e455e3da-60bf-346b-8de2-89b74a0e3040@zimbradomain.it> <211c5023-f130-dc72-7d91-19cc84d7d0f3@zimbradomain.it>
 <7ff33f53-ec74-e514-b5c8-45446c9c4f00@zimbradomain.it> <a04d12ec-2df0-35e9-5363-d10e0a39528d@zimbradomain.it>
 <59257665-163a-8e76-af5d-96e87a2642f9@zimbradomain.it> <697fcda4-ed7c-71cb-8e65-4093cc5bde39@zimbradomain.it>
 <CADMSxsdXqkZKdzko-rjn5=X36Jjb6a3KY5BQSZ3o8-a=bzG3Sw@mail.gmail.com>
In-Reply-To: <CADMSxsdXqkZKdzko-rjn5=X36Jjb6a3KY5BQSZ3o8-a=bzG3Sw@mail.gmail.com>
From: XXXXXXXXX YYYYYYYYYYY <external@gmail.com>
Date: Thu, 19 Mar 2020 12:30:41 +0200
Message-ID: <CADMSxseWPx+T3-PpcL=-4gCPCU0FafrSBF2uOe9Es+qDQv6EbQ@mail.gmail.com>
Subject: Re: proforma invoice 20-03-12 
To: user1 <user1@zimbradomain.it>
Cc: user2 <user2@zimbradomain.it>, 
	user3 <user3@zimbradomain.it>
Content-Type: multipart/related; boundary="000000000000e1fb6d05a132a9dd"
X-WatchGuard-Spam-ID: str=0001.0A090211.5E7349E5.002F,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0
X-WatchGuard-Spam-Score: 0, clean; 0, virus threat unknown
X-WatchGuard-Mail-Client-IP: 209.85.222.178
X-WatchGuard-Mail-From: external@gmail.com
X-WatchGuard-Mail-Recipients: user1@zimbradomain.it;user2@zimbradomain.it;user3@zimbradomain.it
X-Newsl: is not newsletter (-3.0/5.0)
X-NiceBayes: is not spam (49.96%)
X-Spamc: is not spam (score=2.9, required=5.0)
X-MailCleaner-Information: Please contact mailcleaner@zimbradomain.it for more information
X-MailCleaner-ID: 1jEsSg-0002G4-Pn
X-MailCleaner: Found to be clean
X-MailCleaner-SpamCheck: not spam, Newsl (score=-3.0, required=5.0,
	MC_NEWS_HSBJANSWERS=-3), Spamc (score=2.9, required=5.0,
	FREEMAIL_FROM 0.0, T_DKIM_INVALID 1.4, NML_ADSP_CUSTOM_MED 0.9,
	DKIM_SIGNED 0.6, BAYES_00 0.0, HTML_MESSAGE 0.0,
	DKIM_ADSP_CUSTOM_MED 0.0, T_FRT_POSSIBLE 0.0, RCVD_IN_MSPIKE_H2 -0.0,
	MC_SPF_PASS -0.0)
X-MailCleaner-ReportURL: https://mailcleaner.zimbradomain.it/rs.php

--000000000000e1fb6d05a132a9dd
Content-Type: multipart/alternative; boundary="000000000000e1fb6c05a132a9dc"

--000000000000e1fb6c05a132a9dc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-WatchGuard-AntiVirus: part scanned. clean action=allow

Buongiorno
Chiediamo di rispondere al piu presto possibile
Distinti saluti
sgiunchi
Posts: 21
Joined: Sat Sep 13, 2014 1:04 am

Re: Big webclient problem after update to 8.8.15 P8

Post by sgiunchi »

I found this error in mailbox.log, while trying to open any email with the company signature:

Code: Select all

2020-03-25 12:49:50,842 WARN  [qtp366590980-55881:https://172.16.0.5:8443/service/soap/SearchConvRequest] [name=user1@zimbradomain.it;aname=admin@zimbr
adomain.it;mid=150;ip=192.168.254.5;port=3365;ua=ZimbraWebClient - GC80 (Win)/8.8.15_GA_3895;soapId=7912cc6e;] soap - Exception during HTML sanitization: java.l
ang.AssertionError: Invalid CDATA text content : - > * {
}
sgiunchi
Posts: 21
Joined: Sat Sep 13, 2014 1:04 am

Re: Big webclient problem after update to 8.8.15 P8

Post by sgiunchi »

I found the problem and a workaround here:
viewtopic.php?t=66409&start=60

Code: Select all

zmlocalconfig -e zimbra_use_owasp_html_sanitizer=FALSE
zmmailboxdctl restart
Post Reply