[RESEND because I have not included the BTS]

Hello Arne,

Am 2010-09-29 16:19:00, hacktest Du folgendes herunter:
> As this bug is just over its 1st birthday I think it is time to ask if it
> is still there. So - is it still there?

It depends, because now "mutt" show me only message the malloc() message
and tell me that the mailbox was closed and "mutt" DOES NOT MORE CRASH.

If I now use <c><arrow_up> to go into the last mailfolder  "mutt"  tries
to reconnect and mostly failed.  I have to repeat <c><arrow_up> a second
time and now it LOGIN.

Oh wonder, "mutt" has not lost infos about the mailboxes with new mail.


It seems the problem with the lost "new mail" info for  the  mailfolders
is in the routines which write to the "heade_cache"  because  it  seems,
that the infos about  new  mails  are  only  available,  if  I  get  the
"imap_idle" signal from the IMAP server or while polling the mailfolder.

"mutt" does not save the infos correctly in the header cache.

=>  "mutt" write the infos as they will be already seen which
    is wrong if I have not accessed the mailfolder before.

Which mean, if I now close "mutt" it does not more know  about  the  NEW
mails and it get ony infos about incoming NEW mails through  "imap_idle"
signal from the IMAP server or while polling the mailfolder.

Even does "mutt" not know about NEW mails coming in after  closing  mutt
and reopen it.  So, I can not close mutt after breakfast, go to work and
if I come back at evening, reopen "mutt" an read the new mails.

IT DOES NOT WORK

In another previous mail I have already written about a solution:

1)  If "mutt" access a IMAP server, the infos about new mails should
    be written to the "header_cache" and  flaged  as  "NEW"  if  the
    mailfolder was not accessed otherwise it is automaticaly  flaged
    as "OLD".

2)  If 1) does not work, and "mutt" is  setup  with  "imap_idle"  or
    polling the folders, it should ignore at startup the config  and
    POLL all mailfolders defined with "mailboxes" the get the status
    of NEW messages arrived before the actual start.

    IF "mutt" is configured to ignore the "OLD"  flag  which  is  my
    case it shoud set  the  mailfolder  as  "with new mail"  because
    otherwise I would only see this OLD-NEW mails if a  new  message
    arrived in the mailfolder where mutt tell me "I have 1 NEW mail"
    but if I change into the mailfolder I see 100 new mails which  I
    was not aware of it.

This problem is  becoming  worse,  if  you  have  mailfolders  which
receive occasionel NEW mails and you have  several  100  folders  or
like me more then 4800.

NOTE:   I have written a small perl program which access the IMAP
        server get a list of the mailfolders and then  check  the
        new messages.  thePerm script show me the real numbers of
        NEW messages in the mailfolders but mutt failed.

So, it is definitively a bug in "mutt" how it handels NEW messages

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL       itsyst...@tdnet UG (limited liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber [email protected]
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/

Attachment: signature.pgp
Description: Digital signature

Reply via email to