Gentoo Archives: gentoo-commits

From: Matthew Smith <matthew@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] data/gentoo-news:master commit in: 2022-06-26-mu-corruption/
Date: Fri, 01 Jul 2022 07:55:44
Message-Id: 1656662055.bc0bf470ba2e27748ef266e7bd0e97bebbbd0c23.matthew@gentoo
1 commit: bc0bf470ba2e27748ef266e7bd0e97bebbbd0c23
2 Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 08:25:30 2022 +0000
4 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 1 07:54:15 2022 +0000
6 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=bc0bf470
7
8 2022-06-26-mu-corruption: new entry
9
10 Add a news item explaining a maildir corruption bug in the mu/mu4e
11 mail reader.
12
13 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
14
15 .../2022-06-06-mu-corruption.en.txt | 22 ++++++++++++++++++++++
16 1 file changed, 22 insertions(+)
17
18 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
19 new file mode 100644
20 index 0000000..2108c99
21 --- /dev/null
22 +++ b/2022-06-26-mu-corruption/2022-06-06-mu-corruption.en.txt
23 @@ -0,0 +1,22 @@
24 +Title: Mu 1.7.23 Causing Maildir Corruption
25 +Author: Matthew Smith <matthew@g.o>
26 +Posted: 2022-06-26
27 +Revision: 1
28 +News-Item-Format: 2.0
29 +Display-If-Installed: net-mail/mu-1.7.23
30 +
31 +Development versions of mu between 1.7.18 and 1.7.25 have a bug causing
32 +mail file names to sometimes get mangled after moving messages between
33 +directories. Symptoms include unread messages never being marked as
34 +read.
35 +
36 +Affected messages have the ':2,' flag appended multiple times. Using the
37 +following commands, users can remove the extra flags.
38 +
39 + find ~/Maildir -name '*:2,*:*' |
40 + sed "s/\(\([^:]*\)\(:2,\)\{1,\}\(:2,.*$\)\)/mv '\0' '\2\4'/" \
41 + > rename.sh
42 + # review rename.sh. empty file indicates that you are unaffected
43 + sh rename.sh
44 +
45 +Upstream issue: https://github.com/djcb/mu/issues/2268