View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005388 | SOGo | Web Mail | public | 2021-09-08 09:10 | 2024-03-26 14:46 |
Reporter | rof | Assigned To | francis | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | fixed | ||
OS | Linux Debian | OS Version | 10 | ||
Product Version | 5.2.0 | ||||
Fixed in Version | 5.5.0 | ||||
Summary | 0005388: Loading bar when opening emails with winmail.dat | ||||
Description | We have received an email with a winmail.dat for some time. When opening the e-mail, the attachment is not displayed, but the loading bar runs permanently.
| ||||
Additional Information | We use the official debian package and libytnef0 is also installed. Under https://aur.archlinux.org/packages/sogo/#comment-824962 I read that this still must be preloaded?! Does the startup script need to be modified maybe? | ||||
Tags | tnef, winmail.dat | ||||
Have you installed libytnef? |
|
We see the same errors and yes package libytnef0 is installed. |
|
Can you show me the result of
|
|
|
|
Please send me the raw source of the message in private. |
|
@rof - please try the next nightly build and let me know if it fixes your issue. If not, please send me a problematic message. |
|
Too bad, bad timing, so I am reopening the case. I had to set up a test system first and test it. The loading bar email in general seems to have a bug - I couldn't get the email to display correctly in other systems either and I think that's finished (an error message would be nice instead of the loading bar). I have now tested several other winmail.dat and the icon for an attachment is displayed in the overview, but unfortunately I do not have access to the attachment. In the e-mail detail display it looks like there are no attachments available. I do not know if it is related?! I upload a partially anonymized email. |
|
Unfortunately, I can't upload the file because it exceeds the 2MB data limit. :( |
|
Please reopen if necessary. |
|
Sorry for reopening the case. We have received again a winmail.dat, but it was not shown as attachment in SOGo (but in the mail overview an attachment icon is shown).
when opening the mail. Different tests (linking the "libytnef.so" or calling "LD_PRELOAD") did not lead to success. But the call of "ldd" linked to a valid /lib/libytnef.so.0 Unfortunately I am not allowed to give out the winmail.dat and I manually tried to create a valid email with tnef attachment. This is displayed correctly in Thunderbird and an online EML reader (http://eml.nepochataya.pp.ua/). In SOGo the text is parsed incorrectly (see screenshot). The attachment was taken from https://github.com/QualityUnit/TNEFDecoder/blob/master/test/testfiles/one-file.tnef and base64 encoded for the email. I do not want to exclude an error in the created e-mail and ask in this case for an example winmail.dat for testing in our system. |
|
|
|
Unfortunately I have to open the error again, because again a winmail.dat was displayed incorrectly. Again, the attachment was displayed in the overview, but then was not accessible. It is also possible that it is not the winmail.dat, but the general mail display. I have generated an example using https://github.com/QualityUnit/TNEFDecoder/tree/master/test/testfiles (exactly MAPI_OBJECT.tnef) and hope that it corresponds to our problem and can be solved. |
|
same here sogo 5.5.1.20220305-1.el7 ldd /usr/sbin/sogod | grep tnef Mar 07 14:22:13 sogod [3288]: [RM:MailerUI] LOOKUP FAILED: UIxMailPartTNEFViewer |
|
another addition, it works on centos 8, but not on the centos 7 machine. |
|
i had ytnef and libytnef from epel repo installed on centos 7 box, with ytnef provided from sogo repository the error is gone. sorry for the noise. |
|
@rof The last message you attached seems partially corrupted, or we hit a limitation of the decoding library: |
|
From my point of view, the mail is correct at the moment. In SOGo and another program (http://eml.nepochataya.pp.ua/) the body of the mail is displayed, and when I export the attachment and then extract it with tnef, there are no error messages etc.. But the attachment of the sample file used (https://github.com/QualityUnit/TNEFDecoder/blob/master/test/testfiles/MAPI_OBJECT.tnef) is just a cryptic binary file, but I assume that is so correct. |
|
What do you see in your Web interface? This is what I see on my side: |
|
Sorry for my late reply, I missed the message. The display of the e-mail looks the same for me, but it still contains an attachment "Untitled_Attachment" which is not displayed. |
|
It happens from time to time that no attachment is displayed for some emails. Random checks have shown that this is due to problems with the processing of attachments within the tnef files. The above example (SOGO_TNEF-Test-2.eml) also causes the problems described in the current version. These display problems are now leading to major acceptance problems for SOGo and I hope that there will be an improvement in the short term?! Unfortunately, I am not allowed to publish the problematic e-mail, but the example demonstrates the behavior very well. I hope you can improve the processing! PS: Because this support case addresses the topic at the end and is still open, I didn't want to create a new one... |
|
I have made a fix in https://github.com/Alinto/sogo/commit/e6ff9a408d94d2817ce0d9b9f078811e19ea4a39 (NB 20240319), but not sure this is the same issue. Sebastien |
|
The problem with SOGO_TNEF-Test-2.eml could also be reproduced in a current Nightly. Sorry. :-/ |
|
sogo: master d181cc4d 2021-09-28 14:57 Details Diff |
fix(mail): decode ms-tnef (winmail.dat) inside message/rfc822 part Fixes 0005388 |
Affected Issues 0005388 |
|
mod - SoObjects/Mailer/SOGoMailBodyPart.m | Diff File | ||
sogo: master b0c5adf5 2022-01-07 16:02 Details Diff |
fix(mail): handle empty "Mail.Note" in ms-tnef body part Fixes 0005388 |
Affected Issues 0005388 |
|
mod - SoObjects/Mailer/SOGoTNEFMailBodyPart.m | Diff File | ||
sogo: master 6d50dee0 2022-03-29 14:44 Details Diff |
fix(core): encode reserved HTML characters in RTF parser Fixes 0005388 |
Affected Issues 0005388 |
|
mod - SoObjects/SOGo/RTFHandler.m | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-09-08 09:10 | rof | New Issue | |
2021-09-08 09:10 | rof | Tag Attached: tnef | |
2021-09-08 09:10 | rof | Tag Attached: winmail.dat | |
2021-09-23 12:36 | francis | Note Added: 0015486 | |
2021-09-23 12:42 | Christian Mack | Note Added: 0015487 | |
2021-09-23 12:42 | Christian Mack | Note Edited: 0015487 | |
2021-09-23 12:51 | francis | Note Added: 0015488 | |
2021-09-23 12:56 | Christian Mack | Note Added: 0015489 | |
2021-09-23 13:57 | francis | Note Added: 0015490 | |
2021-09-28 18:59 | francis | Changeset attached | => sogo master d181cc4d |
2021-09-28 18:59 | francis | Assigned To | => francis |
2021-09-28 18:59 | francis | Resolution | open => fixed |
2021-09-28 19:00 | francis | Note Edited: 0015489 | |
2021-09-28 19:01 | francis | Status | new => feedback |
2021-09-28 19:01 | francis | Note Added: 0015501 | |
2021-10-04 14:10 | francis | Status | feedback => resolved |
2021-10-04 14:10 | francis | Fixed in Version | => 5.3.0 |
2021-10-04 15:48 | rof | Status | resolved => feedback |
2021-10-04 15:48 | rof | Resolution | fixed => reopened |
2021-10-04 15:48 | rof | Note Added: 0015508 | |
2021-10-04 15:50 | rof | Note Added: 0015509 | |
2021-10-04 15:50 | rof | Status | feedback => assigned |
2021-11-08 17:47 | francis | Status | assigned => resolved |
2021-11-08 17:47 | francis | Note Added: 0015605 | |
2021-12-22 11:58 | rof | Status | resolved => feedback |
2021-12-22 11:58 | rof | Note Added: 0015710 | |
2021-12-22 12:03 | rof | Note Added: 0015711 | |
2021-12-22 12:03 | rof | File Added: SOGO_TNEF-Test.png | |
2021-12-22 12:03 | rof | Status | feedback => assigned |
2021-12-22 12:04 | rof | Note Added: 0015712 | |
2021-12-22 12:04 | rof | File Added: SOGO_TNEF-Test.eml | |
2022-01-07 21:04 | francis | Changeset attached | => sogo master b0c5adf5 |
2022-01-07 21:04 | francis | Resolution | reopened => fixed |
2022-01-07 21:04 | francis | Status | assigned => resolved |
2022-01-07 21:04 | francis | Fixed in Version | 5.3.0 => 5.5.0 |
2022-02-08 15:59 | francis | Description Updated | |
2022-02-09 15:00 | francis | Note Edited: 0015710 | |
2022-03-07 09:49 | rof | Status | resolved => feedback |
2022-03-07 09:49 | rof | Resolution | fixed => reopened |
2022-03-07 09:49 | rof | Note Added: 0015933 | |
2022-03-07 09:50 | rof | Note Added: 0015934 | |
2022-03-07 09:50 | rof | File Added: SOGO_TNEF-Test-2.eml | |
2022-03-07 09:50 | rof | Status | feedback => assigned |
2022-03-07 13:33 | elemay | Note Added: 0015935 | |
2022-03-07 13:43 | elemay | Note Added: 0015937 | |
2022-03-07 14:10 | elemay | Note Added: 0015938 | |
2022-03-07 20:12 | francis | Note Added: 0015939 | |
2022-03-08 16:59 | rof | Note Added: 0015940 | |
2022-03-08 21:51 | francis | Note Added: 0015942 | |
2022-03-08 21:51 | francis | File Added: 5388.jpg | |
2022-03-14 08:37 | rof | Note Added: 0015946 | |
2022-03-29 14:47 | francis | Changeset attached | => sogo master 6d50dee0 |
2022-03-29 14:47 | francis | Resolution | reopened => fixed |
2023-12-06 10:39 | rof | Note Added: 0017490 | |
2024-03-18 14:18 | sebastien | Note Added: 0017659 | |
2024-03-18 14:18 | sebastien | Status | assigned => feedback |
2024-03-18 14:20 | sebastien | Note Edited: 0017659 | |
2024-03-26 14:46 | rof | Note Added: 0017669 | |
2024-03-26 14:46 | rof | Status | feedback => assigned |