commit:     bc0bf470ba2e27748ef266e7bd0e97bebbbd0c23
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 08:25:30 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 07:54:15 2022 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=bc0bf470

2022-06-26-mu-corruption: new entry

Add a news item explaining a maildir corruption bug in the mu/mu4e
mail reader.

Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 .../2022-06-06-mu-corruption.en.txt                | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/2022-06-26-mu-corruption/2022-06-06-mu-corruption.en.txt 
b/2022-06-26-mu-corruption/2022-06-06-mu-corruption.en.txt
new file mode 100644
index 0000000..2108c99
--- /dev/null
+++ b/2022-06-26-mu-corruption/2022-06-06-mu-corruption.en.txt
@@ -0,0 +1,22 @@
+Title: Mu 1.7.23 Causing Maildir Corruption
+Author: Matthew Smith <[email protected]>
+Posted: 2022-06-26
+Revision: 1
+News-Item-Format: 2.0
+Display-If-Installed: net-mail/mu-1.7.23
+
+Development versions of mu between 1.7.18 and 1.7.25 have a bug causing
+mail file names to sometimes get mangled after moving messages between
+directories. Symptoms include unread messages never being marked as
+read.
+
+Affected messages have the ':2,' flag appended multiple times. Using the
+following commands, users can remove the extra flags.
+
+    find ~/Maildir -name '*:2,*:*' |
+      sed "s/\(\([^:]*\)\(:2,\)\{1,\}\(:2,.*$\)\)/mv '\0' '\2\4'/" \
+      > rename.sh
+    # review rename.sh. empty file indicates that you are unaffected
+    sh rename.sh
+
+Upstream issue: https://github.com/djcb/mu/issues/2268

Reply via email to