Bug 40637 - message cache imap wish
Summary: message cache imap wish
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.4
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 53509 73004 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-10 10:33 UTC by Ferdinand Gassauer
Modified: 2007-09-14 12:17 UTC (History)
3 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 rprior 2002-04-10 10:18:17 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.4 (using KDE 3.0.0 )
Severity:          wishlist
Installed from:    Mandrake Linux 8.2 i586 - Cooker
Compiler:          gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)
OS:                Linux (i686) release 2.4.18-6mdk
OS/Compiler notes: 

There should be a configurable ammount of cache for IMAP messages avoiding network traffic when switching between messages that were very recently accessed.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Andre Felipe Machado 2002-11-27 22:15:55 UTC
Hello, When using external mail filter by pipe through filtering on IMAP accounts, like the method described for SpamOracle in the tools section of kmail site, a great amount of traffic is generated. Also, the previous comment about recently downloaded messages being downloaded again if you re select for reading inside a same "mail session", spot another traffic problem. I used StarOffice 5.2 form IMAP accounts for more than 2 years, and its msg cache is very traffic saving. Is there an expected time to include this feature in Kmail? Best regards Andre Felipe Machado http://www.andrefelipemachado.hpg.com.br/linux/index.html 
Comment 2 Philippe Fremy 2003-01-24 13:51:13 UTC
I have the same issue. I am using kmail over a slow link and there are a few things that could be avoided:

- when a message has been seen once, there is no need to download it again if click on it again. There should be a cache.

- when downloading a message with a big attachement, please display the message before downloading the attachement. Ideally, this would be configurable. People with fast link probably want attachemnt to be downloaded along the message. People with slow link want to see the message before downloading the attachemnt.

- when clicking on a not yet downloaded message, you could at least show the headers. It is my assumption that you already have the header at hand. That would make a 3 steps message display:
  1- download the headers and display them
  2- download the message and display it
  3- is user has allowed attachment downloading, do it.


Comment 3 Dawid Kurzyniec 2003-02-01 04:53:19 UTC
I agree with the above comments. Message cache is essential for effective use kmail with IMAP accounts. It is a feature that I am really missing, and it is forcing me to use Outlook Express at my home machine behind modem connection.  Dawid Kurzyniec, http://www.mathcs.emory.edu/~dawidk 
Comment 4 Ingo Klöcker 2003-02-01 18:33:47 UTC
Subject: Re:  message cache imap wish

Just for your information: In KDE 3.2 we will have a disconnected IMAP 
mode. The current implementation in the development version caches all 
messages and synchronizes with the server on demand.

Comment 5 -inness- 2003-08-07 20:44:23 UTC
just to comment, the other thing that's nice about disconnected IMAP mode aside 
from saving traffic is that if you're not online, you can still read your email. for 
example i use kmail on my laptop and frequently want to get some info from an old 
email while i'm not connected to the internet. 
 
waiting eagerly for the kde 3.2 release, 
inness 
Comment 6 Matthias H 2004-01-05 13:17:14 UTC
Does anybody know if it is possible to just mirror some selected IMAP-folders localy? E.g. my e-mail provider (web.de) sorts out some of the spam and puts it into one folder. I do not really want to mirror that folder with my 56k modem connection.
Comment 7 Ingo Klöcker 2004-01-20 09:51:07 UTC
AFAIK it's currently not possible to only mirror some folders with disconnected IMAP.
Comment 8 Ingo Klöcker 2004-01-20 09:54:14 UTC
*** Bug 53509 has been marked as a duplicate of this bug. ***
Comment 9 Ingo Klöcker 2004-01-20 09:55:15 UTC
*** Bug 73004 has been marked as a duplicate of this bug. ***
Comment 10 Stephan Kulow 2004-05-25 09:01:22 UTC
Replaced rprior@mail.pt with gassauer@kde.org due to bounces by reporter
Comment 11 Michael Jahn 2004-07-25 11:41:43 UTC
I think this wish is solved by dimap. Anybody disagree?
Comment 12 Matthias H 2004-07-25 12:31:24 UTC
I agree, if dimap can be configured so it will be possible to just mirror some selected folders. See my posting from 2004-01-05 13:17.
Has this been implemented yet? 
Comment 13 Michael Möller 2004-08-03 15:03:04 UTC
Yes, I also think that dimap should not be a protocol of its own, but be a property of every IMAP folder. This is especially useful for shared folders, e.g., Spam folders vs. personal mail folders.
Mozilla Mail has this feature (and Outlook, too?): "make messages in this folder available for offline-reading" (or something similar).
Is this feature planed for KDE 3.3?
Comment 14 Andreas Gungl 2004-08-03 15:17:26 UTC
On Tuesday 03 August 2004 15:03, Michael MXXller wrote:
> Yes, I also think that dimap should not be a protocol of its own,
> but be a property of every IMAP folder. This is especially useful for
> shared folders, e.g., Spam folders vs. personal mail folders. Mozilla
> Mail has this feature (and Outlook, too?): "make messages in this folder
> available for offline-reading" (or something similar). Is this feature
> planed for KDE 3.3?

FYI, it will not be included in KDE 3.3.

Comment 15 Sergey Y. Afonin 2004-10-01 14:30:45 UTC
What do you think about merge "IMAP" and "Disconnected IMAP" ?
(Please see bug #82684)
Comment 16 Matthias H 2004-10-01 22:39:29 UTC
Very good idea. I just changed my votes.
Comment 17 Ingo Klöcker 2005-05-15 23:35:15 UTC
Since we now have disconnected IMAP this wish can be considered resolved. Finegrained customizability of the caching is bug #82684.
Comment 18 Ferdinand Gassauer 2005-05-15 23:52:03 UTC
just my 2c.
disconnected imap seems to cache "everything" localy.

My suggestion was to also cache - at least for a which, what was downloaded already and the cache looses whatever is too old or when the cache is not big enoug to hold old messages. it would be specially useful for message modies and attachments.
may be the standards browsers cache could be used ( as khtml is used for displaying the messages iirc)
Comment 19 Michael Möller 2005-11-09 13:54:41 UTC
I fully agree with comment #18
I'm using the IMAP protocol (not disconnected) because it is to expensive to download my complete email (current: 1st server 160MB, 2nd server 56MB) via ISDN connection (64 kB/s). Most of the email I do not need at home. Second, I use the option to download attachments only on request (this is because some people like to send few information in large attachments (like scanned letters *grr*) over lists with too many recipients :-( ) 
Now answering an email will first download the possibly large attachment although it is not used. When I revoke and start a new answer again the attachment will be downloaded (and dropped). When I finally want to see the attachment it is downloaded a third time (OK, this time it is not wasted). A cache would have prevented two of the three downloads.
So for me this bug is not fixed due to "diconnected IMAP".