Your message dated Tue, 22 Mar 2016 15:11:33 +0100
with message-id <20160322141133.GA26542@localhost>
and subject line Re: Bug#711511: Found fix
has caused the Debian Bug report #711511,
regarding Mutt clears "New" flag on Maildir mailbox on exit from mailbox, even 
with "new" messages remaining after exit from mailbox
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
711511: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711511
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mutt
Version: 1.5.21-6.2
Severity: important

I upgraded from Debian Squeeze to Debian Wheezy. As part of the
upgrade, Mutt was upgraded from 1.5.20-9+squeeze2 to 1.5.21-6.2.

My system architecture is AMD64.

I use only Maildir for mail storage.

Before the upgrade, I saw the following behavior:

- The folder list (<change-mailbox> `?`) showed a "N" next to any
  mailbox which had "new" messages
- If I then set so that messages left "new" when exiting the mailbox
  would not be changed to "old"/unread state (e.g. by using `%`
  <toggle-write> or 'unset mark_old', when looking at the folder list
  through the same means again, the folder still had the "N" flag

The above is the behavior that I want to see.

After the upgrade, I see the following behavior:

- The first time I bring up the folder list (<change-mailbox> `?`), I
  see "N" next to any mailboxes which contain "new" messages
- I then enter such a mailbox, make it so that messages are not marked
  old (as above) and exit the mailbox.
- When I bring up the folder list again as above, the exited mailbox
  _which still holds messages marked "new"_ _does not show the "N"
  flag_. A double tab or a ^L to refresh or redraw the screen does not
  lead to any visible change.
- If I enter the mailbox again, I see the same messages as "new" in
  the message list, so the status of the messages themselves has not
  been changed.
- If I quit and re-start Mutt, it seems like whatever internal
  inconsistency causes this is cleared, because I get the behavior I
  expect (until I go into and exit such a mailbox; the behavior
  appears session-dependent).

I have confirmed this behavior in a minimal mode using:

mutt -F /dev/null -n -e 'set folder=/home/me/mail-root; mailboxes =mdir1 =mdir2'

substituting a real path and mailbox names which are obviously only
relevant on my system.

I have not tested whether the incorrectly cleared "new" flag resets
when further new messages are delivered into the mailbox.

I am reporting this issue as severity "important" because the impact
of this on a workflow where one relies on the reported status (new
messages or no new messages) of each mailbox is relatively severe:
especially with a large number of mailboxes, it becomes very easy to
miss messages which one intends to follow up on. It does not appear to
me to belong to severity "serious" or higher because a simple restart
appears to clear things up and there is no permanent damage,
particularly if $mark_old is unset on exit from the mailbox which
appears to be the main situation in which this issue would manifest
itself.

System information:

Debian version (/etc/debian_version): 7.0
Kernel: Linux yeono 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
Package libc6: Version: 2.13-38

Output from reportbug:

-- Package-specific info:
Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 3.2.0-4-amd64 (x86_64)
ncurses: ncurses 5.9.20110404 (compiled with 5.9)
libidn: 1.25 (compiled with 1.25)
hcache backend: tokyocabinet 1.4.47
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  +USE_SMTP
-USE_SSL_OPENSSL  +USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  +CRYPT_BACKEND_GPGME
-EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <[email protected]>.
To report a bug, please visit http://bugs.mutt.org/.

misc/am-maintainer-mode
features/ifdef
features/xtitles
features/trash-folder
features/purge-message
features/imap_fast_trash
features/sensible_browser_position
features-old/patch-1.5.4.vk.pgp_verbose_mime
features/compressed-folders
features/compressed-folders.debian
debian-specific/Muttrc
debian-specific/Md.etc_mailname_gethostbyname.diff
debian-specific/use_usr_bin_editor.diff
debian-specific/correct_docdir_in_man_page.diff
debian-specific/dont_document_not_present_features.diff
debian-specific/document_debian_defaults
debian-specific/assumed_charset-compat
debian-specific/467432-write_bcc.patch
debian-specific/566076-build_doc_adjustments.patch
misc/define-pgp_getkeys_command.diff
misc/gpg.rc-paths
misc/smime.rc
upstream/531430-imapuser.patch
upstream/537818-emptycharset.patch
upstream/543467-thread-segfault.patch
upstream/542817-smimekeys-tmpdir.patch
upstream/548577-gpgme-1.2.patch
upstream/553321-ansi-escape-segfault.patch
upstream/568295-references.patch
upstream/547980-smime_keys-chaining.patch
upstream/528233-readonly-open.patch
upstream/228671-pipe-mime.patch
upstream/383769-score-match.patch
upstream/578087-header-strchr.patch
upstream/603288-split-fetches.patch
upstream/537061-dont-recode-saved-attachments.patch
upstream/608706-fix-spelling-errors.patch
upstream/620854-pop3-segfault.patch
upstream/611412-bts-regexp.patch
upstream/624058-gnutls-deprecated-set-priority.patch
upstream/624085-gnutls-deprecated-verify-peers.patch
upstream/584138-mx_update_context-segfault.patch
upstream/619216-gnutls-CN-validation.patch
upstream/611410-no-implicit_autoview-for-text-html.patch
upstream/path_max
misc/579967-fixes-german-translation.patch
mutt.org

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_SE.UTF-8, LC_CTYPE=en_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt depends on:
ii  libc6             2.13-38
ii  libcomerr2        1.42.5-1.1
ii  libgnutls26       2.12.20-7
ii  libgpg-error0     1.10-3.1
ii  libgpgme11        1.2.0-1.4
ii  libgssapi-krb5-2  1.10.1+dfsg-5+deb7u1
ii  libidn11          1.25-2
ii  libk5crypto3      1.10.1+dfsg-5+deb7u1
ii  libkrb5-3         1.10.1+dfsg-5+deb7u1
ii  libncursesw5      5.9-10
ii  libsasl2-2        2.1.25.dfsg1-6
ii  libtinfo5         5.9-10
ii  libtokyocabinet9  1.4.47-2

Versions of packages mutt recommends:
ii  libsasl2-modules                2.1.25.dfsg1-6
ii  locales                         2.13-38
ii  mime-support                    3.52-1
ii  postfix [mail-transport-agent]  2.9.6-2

Versions of packages mutt suggests:
ii  aspell           0.60.7~20110707-1
ii  ca-certificates  20130119
ii  gnupg            1.4.12-7
ii  ispell           3.3.02-6
pn  mixmaster        <none>
ii  openssl          1.0.1e-2
ii  urlview          0.9-19

Versions of packages mutt is related to:
ii  mutt          1.5.21-6.2
pn  mutt-dbg      <none>
pn  mutt-patched  <none>

-- no debconf information

End of relevant parts of reportbug output.

--- End Message ---
--- Begin Message ---
Version: 1.5.24-1

On 2016-03-22 at 14:09 (CET), Michael Kjörling wrote:
> Severity: minor
> Tags: patch
> 
> I found out how to fix this issue.
> 
> The behavior is controlled by a new configuration setting,
> $mail_check_recent which defaults to _set_.

As stated in #816706 by upstream maintainer, this bug has been fixed in
version actually in unstable/sid.

Thus, closing.

Cheers.


-- 
Matteo F. Vescovi || Debian Developer
GnuPG KeyID: 4096R/0x8062398983B2CF7A

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to