View Issue Details

IDProjectCategoryView StatusLast Update
0003445SOGoWeb Mailpublic2016-05-27 15:55
Reporterpijotr Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionsuspended 
Platform[Server] LinuxOSUbuntuOS Version14.04 LTS
Product Version2.3.6 
Summary0003445: folder content is not displayed in webmail (with NGImap4ParserException: unsupported fetch key: nil)
Description

E-mail message containing header Content-Disposition: inline (with or without 'filename' part) on top level of multipart structure totally blocking displaying folder content in webmail

As long as mail exists, folder content is not displayed. Sogo.log contain:

catched IMAP4 parser exception NGImap4ParserException: unsupported fetch key: nil

Yes, I know, content-disposition on top level of multipart tree doesn't make big sense, but I still receive emails like this

Steps To Reproduce
  1. create text file example.eml:

Received: from localhost (localhost [127.0.0.1])
by localhost (Postfix) with ESMTP id 9B32920904
for <somebody@example.com>; Tue, 19 Jan 2016 12:37:21 +0100 (CET)
To: somebody@example.com
Message-ID: w53w5r23r@localhost
From: somebody@example.com
Date: Tue, 19 Jan 2016 12:37:21 +0100
MIME-Version: 1.0
Subject: Test
Content-type: multipart/alternative;
Boundary="bond0"
Content-Disposition: inline

--bond0
Content-type: text/plain; charset=UTF-8
Content-transfer-encoding: quoted-printable

some plain text

--bond0
Content-type: text/html; charset=UTF-8
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p>some html text</p>
</body></html>

--bond0--

  1. insert into imap folder (drag'n'drop into thunderbird)

  2. try to display folder content in webmail

TagsNo tags attached.

Activities

ludovic

ludovic

2016-01-22 19:48

reporter   ~0009312

Works for me.

ludovic

ludovic

2016-05-27 15:55

reporter   ~0010228

Unless better evidence is provided, suspending this.

Issue History

Date Modified Username Field Change
2016-01-19 14:48 pijotr New Issue
2016-01-22 19:48 ludovic Note Added: 0009312
2016-01-22 19:48 ludovic Severity major => minor
2016-05-27 15:55 ludovic Note Added: 0010228
2016-05-27 15:55 ludovic Status new => closed
2016-05-27 15:55 ludovic Assigned To => ludovic
2016-05-27 15:55 ludovic Resolution open => suspended