<<< Date Index >>>     <<< Thread Index >>>

mutt/2646: check_new incorrectly uses mh_seq_unseen



>Number:         2646
>Notify-List:    
>Category:       mutt
>Synopsis:       check_new incorrectly uses mh_seq_unseen
>Confidential:   no
>Severity:       normal
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 24 03:44:58 +0100 2006
>Originator:     Timothy Stotts
>Release:        
>Organization:
>Environment:
Mutt 1.5.13 (2006-08-11)
Copyright (C) 1996-2006 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 2.6.19-gentoo-r2barn8 (ppc) [using ncurses 5.5] [using libidn 
0.5.15 (compiled with 0.5.15)]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
-USE_FCNTL  +USE_FLOCK   -USE_INODESORT   
-USE_POP  +USE_NNTP  +USE_IMAP  -USE_GSS  -USE_SSL_OPENSSL  +USE_SSL_GNUTLS  
+USE_SASL  +HAVE_GETADDRINFO  
-HAVE_REGCOMP  +USE_GNU_REGEX  +COMPRESSED  
+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  
-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc/mutt"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please visit http://bugs.mutt.org/.

vvv.nntp
patch-1.5.6.dw.pgp-timeout.1
patch-1.5.6.dw.mbox-hook.1
rr.compressed
patch-1.5.4.lpr.collapse_flagged Lukas P. Ruf <lukas.ruf@xxxxxx>
patch-1.5.10.tt.assumed_charset.1
>Description:
When using MH-format mailboxes, mutt monitors any sequence for new mail. It 
should instead use the sequence defined by mh_seq_unseen.

With this behavior, replying to a message will cause mutt to indefinitely tell 
the user that the folder has new messages, regardless of the actual state.
>How-To-Repeat:
Muttrc file contains:
    unset mh_purge
    set mh_seq_unseen="unseen"
    set mh_seq_flagged="flagged"
    set mh_seq_replied="replied"

Procmail uses rcvstore to mark new mail with sequence "unseen".

Mutt correctly removes ids from unseen sequence after reading mail.

Mutt correctly adds ids to replied sequence after replying to message.

Mutt incorrectly monitors both the 'unseen' and 'replied' sequences for new 
mail. It should only monitor the 'unseen' sequence, or whatever sequence is 
defined by mh_seq_unseen.
>Fix:
The workaround (not a fix) is to at the following to the muttrc file:
    set mh_seq_replied=""

Mutt no longer flags IDs as replied-to, which is loss of functionality; but it 
reduces the bug.
>Add-To-Audit-Trail:

>Unformatted: