aboutsummaryrefslogtreecommitdiff
blob: 40a8ab23d4ec986a5883b3f4106a990e61e5b94b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Title: Mu 1.7.23 Causing Maildir Corruption
Author: Matthew Smith <matthew@gentoo.org>
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