On Monday, January 2, 2017 4:22:34 PM EST Peter Humphrey wrote:
> On Monday, 2 January 2017 11:42:44 GMT Mick wrote:
> > On Monday 02 Jan 2017 10:51:23 Peter Humphrey wrote:
> > > Hello lists,
> > > 
> > > (I've sent this to both gentoo-user and kdepim-users as being relevant
> > > in
> > > both lists - I'm using kde-apps/kmail-16.12.0-r1 on Gentoo.)
> > > 
> > > Well, I think I can finally emerge from a long battle to get KMail
> > > working. It's been uphill all the way - except for the frequent slips
> > > backwards to start abain. (I still don't have spell checking, as you
> > > see.)
> > > 
> > > The main problem has been to recover archived e-mails, which sounds
> > > simple enough as I always keep a week of daily archives on a different
> > > partition, but it wasn't. The routine would go like this:
> > > 
> > > 1.        Set up KMail the way I like it, but on an empty message set. 
> > > Save the
> > > arrangement for use next time.
> > > 2.        Import the latest archive to a temporary folder.
> > > 3.        Mark all the imported messages as read and move each folder into
> > > position under Local Folders. Delete the temporary folder.
> > > 4.        Restore all the filters.
> > > 5.        Cross fingers and fetch new mail (POP as my ISP doesn't offer 
> > > IMAP).
> > > 6.        KMail goes haywire. It re-creates the temporary folder and 
> > > proceeds
> > > to
> > > fill it with duplicates of all the existing messages. All those
> > > duplicates prevent me from making a new archive until I clear them all
> > > out, painstakingly (yes, I did actually check several thousand e-mails
> > > for uniqueness).
> > > 7.        Sigh. Delete the temporary folder again and have another go. 
> > > Same
> > > result. 8.        Give up and start again.
> > > 
> > > Latterly, it changed slightly and sent all those duplicates to the
> > > sent-mail folder instead of creating a new folder for them. I think
> > > this coincided with me using a different archive file from the previous
> > > day.
> > > 
> > > In the end I used Ark to extract the sent-mail directory from the
> > > archive
> > > and save it as a simple directory structure under
> > > "./.Local Folders.directory", then delete what I'd extracted from the
> > > archive. Then the import went smoothly in two stages: sent-mail, and
> > > everything else.
> > > 
> > > I lost count of the times I rebooted durning the whole struggle, but it
> > > may well have reached 100. To omit a reboot was to risk the next step
> > > going wrong. That's compounded by having to start KMail twice each
> > > time, because the first time, it shows a progress bar stuck at 0% with
> > > no indication of what is supposed to be in progress. This may be
> > > connected with the segmentation faults I still see sometimes on
> > > shutdown; it's hard to be sure.
> > > 
> > > Let's hope for some stability now. I still feel as though I'm walking on
> > > eggshells.
> > 
> > Instead of rebooting it should be easier to first quit kmail and then run:
> > 
> > akonadictl stop
> > akonadictl start
> > akonadictl fsck
> > akonadictl vacuum
> > 
> > On each of the above commands you should wait for a few
> > seconds/minutes/hours, depending on the size of the database and the
> > amount being downloaded/indexed from the mail server.  Once the complete
> > collection of messages, address book, calendar, etc. have been downloaded
> > AND indexed your problems of being stuck at 0% ought to go away, or
> > hopefully reduced significantly.
> 
> I've just run that set of four commands, and guess what? I now have my first
> batch of duplicate messages. I also have a feeling that some new messages
> from this list have disappeared.

https://userbase.kde.org/KMail/
FAQs_Hints_and_Tips#Local_Folders_is_added_over_and_over

Came across that while looking for something else. HTH.



Reply via email to