Summary: | make kmail mail state saving more robust | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Felix Buenemann <atmosfear> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WAITINGFORINFO | ||
Severity: | wishlist | CC: | andres.rogers, karaluh, luigi.toscano, m.langerhorst, mr_smith, phong, sigmastudio |
Priority: | NOR | ||
Version: | 1.3 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Felix Buenemann
2001-10-27 15:44:44 UTC
On Saturday 27 October 2001 17:44 atmosfear@users.sourceforge.net wrote: > > it would be nice if you could make the saving of kmail mail state (I mean > the file that stores which mails have been already downloaded from mailbox > when not deleting mails on server) more robust against kmail or system > crashes. > > Because if it's corrupted kamil refetches all mails in case this happens > which can be quite annoying with thousands of mails... :( > > How anout saving a backup to the mailstate file prior to writing to it and > calculate a checksum to verify integrity (and use backup if it fails)? Actually the file is first written under a different name and then renamed to the original name. What exactely happened when this file got corrupted? Regards Michael Häckel On Saturday 27. October 2001 20:00 Michael Häckel wrote: > On Saturday 27 October 2001 17:44 atmosfear@users.sourceforge.net wrote: > > it would be nice if you could make the saving of kmail mail state (I mean > > the file that stores which mails have been already downloaded from > > mailbox when not deleting mails on server) more robust against kmail or > > system crashes. > > > > Because if it's corrupted kamil refetches all mails in case this > > happens which can be quite annoying with thousands of mails... :( > > > > How anout saving a backup to the mailstate file prior to writing to it > > and calculate a checksum to verify integrity (and use backup if it > > fails)? > > Actually the file is first written under a different name and then renamed > to the original name. > > What exactely happened when this file got corrupted? KMail then refetches all mail from the mail server even those that were already previously downloaded which results in a large amount of duplicate mails. Btw. same effect happens when you change the configuration of an account from pop3 to pop3s should I do this as a seperate bugreport? > > Regards > Michael Häckel -- Best Regards Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________ Linux is like a Wigwam no Gates no Windows and Apache inside. On Saturday 27 October 2001 21:27 Felix Buenemann wrote: > > KMail then refetches all mail from the mail server even those that were > already previously downloaded which results in a large amount of duplicate > mails. Yes I know. However I actually was interested in how you got it corrupted. > Btw. same effect happens when you change the configuration of an account > from pop3 to pop3s should I do this as a seperate bugreport? This is something I didn't think of yet but should probably fixed. Currently we indentify a server by username host and port and not by the account name. Regards Michael Häckel On Saturday 27. October 2001 22:17 Michael Häckel wrote: > On Saturday 27 October 2001 21:27 Felix Buenemann wrote: > > KMail then refetches all mail from the mail server even those that were > > already previously downloaded which results in a large amount of > > duplicate mails. > > Yes I know. However I actually was interested in how you got it corrupted. hmm fetching mail whilem it's still fetching computer hangs completely so I have to switch power of and back on after reboot starting kmail and fetching mails it refetches... > > > Btw. same effect happens when you change the configuration of an account > > from pop3 to pop3s should I do this as a seperate bugreport? > > This is something I didn't think of yet but should probably fixed. > Currently we indentify a server by username host and port and not by the > account name. yes I noticed thatbut kmail could simply rename that file when changing account configuration. > > Regards > Michael Häckel -- Best Regards Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________ 640K are ought to be enough. - Bill Gates *** Bug 54657 has been marked as a duplicate of this bug. *** *** Bug 124657 has been marked as a duplicate of this bug. *** *** Bug 163962 has been marked as a duplicate of this bug. *** *** Bug 192661 has been marked as a duplicate of this bug. *** *** Bug 194281 has been marked as a duplicate of this bug. *** *** Bug 217608 has been marked as a duplicate of this bug. *** Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented. Thank you for your understanding. Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2. |