Bug 54206 - kmail can not read new mails form imap if called with -check
Summary: kmail can not read new mails form imap if called with -check
Status: CLOSED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-06 13:33 UTC by fahrendorf
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
S/MIME Cryptographic Signature (2.89 KB, application/x-pkcs7-signature)
2003-02-08 14:50 UTC, fahrendorf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fahrendorf 2003-02-06 13:33:19 UTC
Version:           1.5 (using KDE 3.1.0)
Installed from:    compiled sources
Compiler:          gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)
OS:          Linux (i686) release 2.4.19-16mdk

KMail compiled from Source (on 2003-02-06), CVS Branch KDE_3_1_BRANCH.
I have started kmail with the option -check. For about one Week kmail is unable to load new imap mails if it is started with -check. Without -check everything runs as expected. Even the progressbar on the lower right corner does not appear.

Martin
Comment 1 Carsten Burghardt 2003-02-07 12:45:47 UTC
Thanks for your report. 
Do you have an imap-folder as startup-folder? 
Comment 2 fahrendorf 2003-02-07 13:58:41 UTC
Subject: Re:  kmail can not read new mails form imap if called with -check

Am Freitag, 7. Februar 2003 12:45 schrieben Sie:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=54206
> burghardt@kde.org changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- Status|UNCONFIRMED                 |NEW
>       everconfirmed|0                           |1
>
>
>
> ------- Additional Comments From burghardt@kde.org  2003-02-07 12:45
> ------- Thanks for your report.
> Do you have an imap-folder as startup-folder?

I have an imap folder which is displayed by default (the only one configured 
in the kmail network receive configuration (I hope so, in german: 
Netzwerk->Empfang im Einrichten Dialog)).

Martin
Comment 3 Carsten Burghardt 2003-02-07 16:06:42 UTC
Subject: Re:  kmail can not read new mails form imap if called with -check

Am Freitag, 7. Februar 2003 13:58 schrieb fahrendorf@helix-gmbh.net:
> > Do you have an imap-folder as startup-folder?
>
> I have an imap folder which is displayed by default (the only one
> configured in the kmail network receive configuration (I hope so, in
> german:
> Netzwerk->Empfang im Einrichten Dialog)).

Yep and this is our problem.
When the folder is selected on startup a mailcheck is initiated for this 
single folder (otherwise you won't be notified of new mails).
So there is already a mailcheck ongoing and the --check option is simply 
ignored. The only possible fix for this would be to implement these things I 
already wrote in a different mail:
- do not use a single flag for all accounts but one per account to indicate a 
mail-check
- queue incoming mail-checks if there is one active for the same account

I wanted to implement this in HEAD but I don't know if I should also do this 
in the branch. This change will be a bit to big for a stable release IMO.

Comment 4 fahrendorf 2003-02-08 14:50:11 UTC
Subject: Re:  kmail can not read new mails form imap if called
 with -check

Carsten Burghardt wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>      
> http://bugs.kde.org/show_bug.cgi?id=54206     
> 
> 
> 
> 
> ------- Additional Comments From cb@magic-shop.de  2003-02-07 16:06 -------
> Subject: Re:  kmail can not read new mails form imap if called with -check
> 
> Am Freitag, 7. Februar 2003 13:58 schrieb fahrendorf@helix-gmbh.net:
> 
>>>Do you have an imap-folder as startup-folder?
>>
>>I have an imap folder which is displayed by default (the only one
>>configured in the kmail network receive configuration (I hope so, in
>>german:
>>Netzwerk->Empfang im Einrichten Dialog)).
> 
> 
> Yep and this is our problem.
> When the folder is selected on startup a mailcheck is initiated for this 
> single folder (otherwise you won't be notified of new mails).
> So there is already a mailcheck ongoing and the --check option is simply 
> ignored. The only possible fix for this would be to implement these things I 
> already wrote in a different mail:
> - do not use a single flag for all accounts but one per account to indicate a 
> mail-check
> - queue incoming mail-checks if there is one active for the same account
> 
> I wanted to implement this in HEAD but I don't know if I should also do this 
> in the branch. This change will be a bit to big for a stable release IMO.

So why did it work in the version 2 weeks ago?

Martin



Created an attachment (id=907)
S/MIME Cryptographic Signature
Comment 5 Carsten Burghardt 2003-02-10 09:48:08 UTC
Subject: Re:  kmail can not read new mails form imap if called with -check

Am Samstag, 8. Februar 2003 14:50 schrieb fahrendorf@helix-gmbh.net:
> So why did it work in the version 2 weeks ago?

Because this problem was introduced by a bugfix of me which makes sure that 
you're notified of new mail when you select a folder.

Comment 6 fahrendorf 2003-04-03 06:51:41 UTC
Subject: Re:  kmail can not read new mails form imap if called with -check

Am Montag, 10. Februar 2003 09:48 schrieb Carsten Burghardt:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=54206
>
>
>
>
> ------- Additional Comments From cb@magic-shop.de  2003-02-10 09:48 -------
> Subject: Re:  kmail can not read new mails form imap if called with -check
>
> Am Samstag, 8. Februar 2003 14:50 schrieb fahrendorf@helix-gmbh.net:
> > So why did it work in the version 2 weeks ago?
>
> Because this problem was introduced by a bugfix of me which makes sure that
> you're notified of new mail when you select a folder.

This Bug seems to be fixed. with the current 3_1_BRANCH the initial check at 
startup works for me.

Martin
Comment 7 Ingo Klöcker 2003-05-04 01:28:26 UTC
Subject: Re:  kmail can not read new mails form imap if called with -check

Bug fixed according to the original reporter.