Version: 1.5.9 (using KDE 3.1.9) Compiler: gcc version 3.3 20030226 (prerelease) (SuSE Linux) OS: Linux (i686) release 2.4.20-4GB Hi! new mails are displayed in a folder but the headers are not displayed check mail and refresh do not help this does not work since a few days cu ferdinand
Subject: Re: New: imap Headers are not always displayed - even if new mails arived On Saturday 13 September 2003 19:03, Ferdinand Gassauer wrote: > Hi! > new mails are displayed in a folder but the headers are not displayed > check mail and refresh do not help As I don't see this problem here I need a bunch of information. What imap server ae you using? With "new mails are displayed" you mean the unread count? Can you provide an ethereal log when you click on a folder that should have new mails? Do you see this problem with all folders? Thx Carsten
now it works again
now it does not work I definitely have new mails , because I can see them in Webmail (SuSE Oexchange), I see the correct number of mails displayed for each subfolder but the mails are not displayed
problem persists
may be the problem only araises for subfolders
It seems that this problem only appears with IMAP subfolders. automatic checking shows asome new messages the headers are not downloaded automatically. after manualy coping a message into this folder the headers get updated and work correctly. BTW what should "refresh" do? here I can't seen anything .
Could you try if removing the index for one of the affected folders fixes it for that folder, please? As to your question, "refresh" checks for new mail only in the current imap folder. The shortcut is f5, as in konqui.
Subject: Re: imap Headers are not always displayed - even if new mails arived On Monday 13 October 2003 09:13, you wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=64210 > > > > > ------- Additional Comments From adam@kde.org 2003-10-13 09:13 ------- > Could you try if removing the index for one of the affected folders fixes > it for that folder, please? if I remove the IMAP index I get a server error. > As to your question, "refresh" checks for new mail only in the current imap > folder. The shortcut is f5, as in konqui. So why not calling it "Check mail" ? BTW IMHO it does _not_ check for new mail. Or it does not sync the windows. I never got new mail clicking on refresh.
I definitely need an ethereal log or something when you click on the folder and the mails are not displayed. Otherwise I don't know where to search.
the communication runs over a ssh tunnel does it help if I send you such a log?
Created attachment 2784 [details] shows folder with new mails and empty headers IMHO a sync question after a new mail arrives the other mail headers of the folder are displayed. I assume it's the purpose of IMAP to access the mail server from 2 or more different clients.
The communication itself should be cleartext if you tunnel it so the log would be ok.
If I click on check mail on the top IMAP folder - the number of new emails in the subfolder are updated, but not the headers. if I click on the folder itself ONLY BEFORE I click "check mail" in the top folder the messages get synced correctly.
Ferdinand, does the described behavior only happen with otherwise empty folders? Are only headers not dowloaded when there is new mail in an empty folder?
Subject: Re: imap Headers are not always displayed - even if new mails arived On Saturday 01 November 2003 10:06, you wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=64210 > > > > > ------- Additional Comments From adam@kde.org 2003-11-01 10:06 ------- > Ferdinand, does the described behavior only happen with otherwise empty > folders? Are only headers not dowloaded when there is new mail in an empty > folder? regardless if the folder is empty or not. As I said I think it (mainly) happens if all folders are checked (manually)
I am pretty sure now - if I click on the folder itself the headers _are_ downloaded - if I click on the IMAP-main folder, the headers are _not_ downloaded
i have the same problem kmail is from the 3.2 beta1 happens with several servers running courier imap + vpopmail in various versions after checking for mail folder pane will indicate unread messages in the inbox, but on accessing the inbox no new messages will show up. Then after some time they will suddenly appear. The inboxes have mails in them should i do an ethereal log?
@arne: yes, an ethereal log and the debug output would be good. Thanks, Carsten
changed to major - the way it behaves is not business ready
Subject: Re: imap Headers are not always displayed - even if new mails arived On Thursday 13 November 2003 09:15, you wrote: > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=64210 > gassauer@kde.org changed: > > What |Removed |Added > --------------------------------------------------------------------------- >- Severity|normal |major > > > > ------- Additional Comments From gassauer@kde.org 2003-11-13 09:15 ------- > changed to major - the way it behaves is not business ready If I can remember correctly you sent me an ethereal log some time ago. Unfortunately it got lost from my web.de account. Can you send it once again? Thanks, Carsten
FWIW, the workaround seems to be to delete an email in an affected folder and then check mail again. will collect some data now
Subject: kdepim/kmail CVS commit by tilladam: Make sure quiet() is reset in all error paths. If this is not ensured, the newly arrived mail headers will be added to the local store but the headers list not updated as that happens according to the following scheme: o set folder quiet++ o get a bunch of headers and add them to the store without updating o when the last mail comes in set folder quiet-- o quiet == 0 and as a result of that emit the folder's changed signal which updates the headers Now if in some error path the quiet-- doesn't happen, quiet never becomes 0 again in that folder and therefor the headers are never updated whether there are new mails or not. I hope this is the last codepath where it is lacking. If so, it should fix #64210. This being an error path would explain why it is so elusive. I saw this today for the first time having left kmail running across a disconnect of my internet connection. CCMAIL: 64210@bugs.kde.org M +1 -0 kmfolderimap.cpp 1.144 --- kdepim/kmail/kmfolderimap.cpp #1.143:1.144 @@ -758,4 +758,5 @@ void KMFolderImap::slotListFolderResult( mAccount->slotSlaveError( mAccount->slave(), job->error(), job->errorText() ); + quiet( false ); emit folderComplete(this, FALSE); mAccount->removeJob(it);
Subject: Re: imap Headers are not always displayed - even if new mails arived On Saturday 15 November 2003 23:01, you wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=64210 > > > > > ------- Additional Comments From adam@kde.org 2003-11-15 23:01 ------- > Subject: kdepim/kmail > > CVS commit by tilladam: > > Make sure quiet() is reset in all error paths. If this is not ensured, the > newly arrived mail headers will be added to the local store but the headers > list not updated as that happens according to the following scheme: > > o set folder quiet++ > o get a bunch of headers and add them to the store without updating > o when the last mail comes in set folder quiet-- > o quiet == 0 and as a result of that emit the folder's changed signal which > updates the headers > > Now if in some error path the quiet-- doesn't happen, quiet never > becomes 0 again in that folder and therefor the headers are never updated > whether there are new mails or not. > > I hope this is the last codepath where it is lacking. If so, it should > fix #64210. This being an error path would explain why it is so elusive. I > saw this today for the first time having left kmail running across a > disconnect of my internet connection. > > CCMAIL: 64210@bugs.kde.org > > > M +1 -0 kmfolderimap.cpp 1.144 > > > --- kdepim/kmail/kmfolderimap.cpp #1.143:1.144 > @@ -758,4 +758,5 @@ void KMFolderImap::slotListFolderResult( > mAccount->slotSlaveError( mAccount->slave(), job->error(), > job->errorText() ); > + quiet( false ); > emit folderComplete(this, FALSE); > mAccount->removeJob(it); no this didn't help either . I still have to copy a mail in the folder with new mails to get the mailheaders displayed
On Sunday 16 November 2003 23:30, you wrote: > On Sunday 16 November 2003 20:22, you wrote: > > Yes - I enabled and disabled the groupware function of kmail, because our > > server does not support the groupware functionality yet. > > If you delete these two entries from your kmailrc and then start kmail, are > they re-created? OK after removing ALL references to empty imap paths check mail in the main IMAP folder works and syncs the headers now