View Issue Details

IDProjectCategoryView StatusLast Update
0000287fileGeneralpublic2021-09-11 19:20
Reporteralealbonico Assigned Tochristos  
Status resolvedResolutionfixed 
Product Version5.40 
Fixed in Version5.41 
Summary0000287: MIME of message/rfc822 detected as text/plain
DescriptionEmail files with MIME message/rfc822 are being detected as text/plain because said file's header starts with "Date:" instead of "From:" or "Received:".

I checked the documentation for the standard way to write a rfc822 message and it looks like date is actually allowed to be on the first line, too.

Thanks in advance.
Steps To ReproduceGet a rfc822 file and place the header date as the first line in it.

Example of file:

Date: Fri, 07 Aug 2020 02:09:32 +0100
From: "xxxx" <>
To: "yyyy" <>
Subject: zzzzzzzz
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="--464994466596adLKMdfn3566452152"
X-Rejection-Reason: zzzzzz

Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Content-Type: application/msword; name="xxxx"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="xxxx"




Try to get the MIME type.
Output: text/plain

Notice that removing date and leaving "from" on top instead will return the correct output.
TagsNo tags attached.



2021-09-11 19:20

manager   ~0003642

Fixed, thanks!

Issue History

Date Modified Username Field Change
2021-09-09 17:23 alealbonico New Issue
2021-09-11 19:20 christos Assigned To => christos
2021-09-11 19:20 christos Status new => assigned
2021-09-11 19:20 christos Status assigned => resolved
2021-09-11 19:20 christos Resolution open => fixed
2021-09-11 19:20 christos Fixed in Version => 5.41
2021-09-11 19:20 christos Note Added: 0003642