Bug 81716 - Check mail (IMAP) with a lot of subdirs is not handy.
Summary: Check mail (IMAP) with a lot of subdirs is not handy.
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail2
Classification: Applications
Component: commands and actions (show other bugs)
Version: 1.99.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 90730 92840 145146 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-16 23:03 UTC by Tom Albers
Modified: 2011-12-01 12:23 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Albers 2004-05-16 23:03:30 UTC
Version:           1.6.51 (using KDE 3.2.2, compiled sources)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:                Linux (i686) release 2.6.1-gentoo-r1

Hi,

I have a list of folders on an imap server. Check Mail does check all the folders for new e-mail. This is slow and useless, because just in three folders can arrive new e-mail (which I wanna see).

So I see the properties of each folder has an option to include it in the mail-check. But that setting is default on and there seems no way to set this off for all folders by one operation.

I now have the auto-mailcheck off and have korn do the mailcheck on three folders, it works, but it seems almost possible to do it in KMail now.

Maybe it is possible to make a button in the settings near the 'interval-check' to uncheck the mailcheck property of all the folders.

Thanks.

Tom
Comment 1 arutha 2004-06-10 14:47:46 UTC
Just wanted to report this one too. I can _confirm_ this.

I thought: Ok I'll do it once. Took ages. I was mainly doing it on an archive folder and all the subfolders in there because I know there won't be any new mails in them. Unfortunately my comp crashed and took kmail configuration data with it. We really need a good way to mark more than on folder.
Comment 2 Bruce A. Mallett 2004-08-27 05:19:38 UTC
I've been trying KMail 1.7 and found that I had to use dIMAP to get client side filtering to IMAP folders.  That is a downside because now I must have all of my folders (50 or so) also stored on my local disk.  Even worst is that when I do a "Check Mail" (back to the subject of this bug) it runs through *all* of the folders, checking each.  Clicking the property "Ignore new mail in this folder" (which should default to enabled except for Inbox btw) does not affect the checking, it seems to only affect the reporting of new mail.

Also this "Ignore new mail in this folder" logically should ripple down to subfolders.
Comment 3 Andreas Gungl 2004-08-27 08:23:22 UTC
On Friday 27 August 2004 05:19, Bruce A.Mallett wrote:
> I've been trying KMail 1.7 and found that I had to use dIMAP to
> get client side filtering to IMAP folders.  That is a downside because
> now I must have all of my folders (50 or so) also stored on my local
> disk.  Even worst is that when I do a "Check Mail" (back to the subject
> of this bug) it runs through *all* of the folders, checking each. 
> Clicking the property "Ignore new mail in this folder" (which should
> default to enabled except for Inbox btw) does not affect the checking, it
> seems to only affect the reporting of new mail.

You can check single DIMAP folders for new mail (see folder's context menu). 
Regarding  "Ignore new mail in this folder" you missed the meaning of this 
option. It does not affect the check process but the way how new messages 
in this folder affect notifications about new mail.

I didn't try it myself, but it might be worth to check if subscribing to 
only a few folders (while still showing all folders in KMail) influences 
the check process.

Comment 4 Tom Albers 2004-08-27 10:07:57 UTC
I don't know about dIMAP, but with online IMAP:
An other option I use on every computer I install KDE on is to file->exit KMail and edit ~/.kde/share/config/kmailrc and replace all "checkmail=true" with "checkmail=false" (please make a backup before editing and usage is at own risk ;-))
After that start KMail and edit the properties of each folder that you want to enable check mail for (right click a folder->Properties->Check for new messages).

I think 'check for new messages should default to Off when choosing for an IMAP account and there should be a setting to switch it off and on 'en masse'. 
Anyhow, above steps work for me, only you have to remember to set check mail off for newly created folders....

Comment 5 Carsten Burghardt 2004-08-27 10:51:13 UTC
> I think 'check for new messages should default to Off when choosing for an
> IMAP account and there should be a setting to switch it off and on 'en
> masse'.

I agree about the option to write properties to all subfolders. I do not
agree about setting the switch to off because you'll get hundreds of
bugreports "kmail doesn't check my folders for new mail".

Comment 6 Bruce A. Mallett 2004-09-01 17:30:20 UTC
Andreas,
Thanks for that tip.  I just tried it.  I completely wiped my account and recreated it as dimap.  Then I unsubscribed to everything except INBOX, SENT, and TRASH.  I restarted kmail (JustInCase) - full shutdown including a quit on the systray icon - and then did a get mail for the account.

It went through every single imap folder looking for email.  All 130+ of them.  But it sounded like a good suggestion!
---

Tom,
After doing the above I edited my ~/.kde/share/config/kmailrc file and find that there are no checkmail=xxx entries in this file.  The nearest thing to it that I see is a "checkmail-startup=false" in the [General] section.  (KMail 1.7)
Comment 7 Tom Albers 2005-02-17 21:51:00 UTC
*** Bug 92840 has been marked as a duplicate of this bug. ***
Comment 8 Carsten Burghardt 2005-05-19 19:15:59 UTC
*** Bug 90730 has been marked as a duplicate of this bug. ***
Comment 9 Rudolf Kollien 2006-05-24 09:02:46 UTC
It seem's in the past there was no more action on this wish. 
First of all i agree, that it would be a great help if unchecking "Check for new mail" on an folder would have an option to inherit it to all subfolders. Second it would be a great perfomance enhancement, if folders, which are marked for not checking for new mail would NOT get scaned, too. I excluded many folders from checking because of remote access to my imap server over a slow line. New mail in such folders are not reported and the counters are not updated. But in the progress bar i can see, that the mentioned folders are scaned, which take a very, very long time. And this with each poll.
Comment 10 Rudolf Kollien 2006-05-24 09:03:35 UTC
*** This bug has been confirmed by popular vote. ***
Comment 11 Thomas McGuire 2007-05-07 17:24:32 UTC
*** Bug 145146 has been marked as a duplicate of this bug. ***
Comment 12 Thomas McGuire 2007-05-07 17:25:47 UTC
Very similar to bug 88556.
Comment 13 Massimo Burcheri 2007-08-12 13:49:00 UTC
This bugreport is quite old and 1.9.7 still doesn't have a solution.
The automatic fetching is one of my major problems with KMail, I just can't use it on hundreds of mail folders (cachedimap).

The first suggestion only subscribing to some folders would hide the other folders.
The second suggestion doesn't work here since folder->Properties->Check doesn't exist in my version and ~/.kde/share/config/kmailrc doesn't have an entry for every cachedimap folder.
Comment 14 Anne-Marie Mahfouf 2011-12-01 11:24:02 UTC
Reassigning to kmail2
Comment 15 Tom Albers 2011-12-01 12:23:47 UTC
Closing, i can not unsubscribe and it's 7 years old now.