Hi, I think the problem is that while decoding the TNEF attachment fetchBLOB is called by decodeBLOB (SOGoTNEFMailBodyPart.m) which marks the email as read.
@Francis Can this call to fetchBLOB be changed to "fetchBLOBWithPeek: YES". Regards Thomas Von: users-requ...@sogo.nu <users-requ...@sogo.nu> Im Auftrag von "jw...@kratu.nl" Gesendet: Dienstag, 25. Jänner 2022 21:42 An: users@sogo.nu Betreff: [SOGo] Bug report with mail encoding and EAS Since a few releases there is an issue with mail encoded as TNEF (Microsoft format). Mails received with that MIME encoding are getting automatically marked as read when syncing with EAS. Changing the status back to unread will last a few seconds/minutes and it is read again. Moving to another subfolder stops the process a bit longer, but it still happens. Mail config is Mailcow, so SOGO and dovecot. Since the sending domain has changed the MIME encoding to HTML (Exchange parameter to force this) the issue is resolved. Jan Willem Bos. -- users@sogo.nu <mailto:users@sogo.nu> https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists