From cfd1a847ec023aaa064f71e4f3e70cdf8e0cb83c Mon Sep 17 00:00:00 2001 From: iequidoo Date: Tue, 16 Sep 2025 03:54:08 -0300 Subject: [PATCH] fix: Avoid auto-marking DSNs as seen; the user may want to see them in another MUA --- src/receive_imf.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/receive_imf.rs b/src/receive_imf.rs index 0415d76b4..9208ff10b 100644 --- a/src/receive_imf.rs +++ b/src/receive_imf.rs @@ -1211,8 +1211,9 @@ async fn decide_chat_assignment( info!(context, "Message is an MDN (TRASH)."); true } else if mime_parser.delivery_report.is_some() { + // Auto-marking DSNs as IMAP-seen should be avoided because the user may want to see them in + // another MUA. info!(context, "Message is a DSN (TRASH)."); - markseen_on_imap_table(context, rfc724_mid).await.ok(); true } else if mime_parser.get_header(HeaderDef::ChatEdit).is_some() || mime_parser.get_header(HeaderDef::ChatDelete).is_some()