kdepim-users Digest, Vol 157, Issue 2
Peter Humphrey
peter at prh.myzen.co.uk
Fri Dec 16 10:17:11 GMT 2016
On Thursday 15 Dec 2016 20:54:26 Peter Wibberley wrote:
> To answer your question, yes, I have tried using the folder archive
> function. However, with any folder that contains one of the duplicate
> messages, this is where I am getting the message, "Failed to archive the
> folder 'xxxxxxxxx'. Downloading a message in folder 'xxxxxxxxx' failed.".
Two thoughts:
1. Try Folder > Remove Duplicate Messages, if you haven't already.
I find that only works occasionally here.
2. Make KMail and friends reindex all the messages as in your next
paragraph.
> Before I try deleting the baloo folder, can I ask how this will work? I
> was under the impression that baloo provides just the desktop search
> functionality. If this is the case, it isn't clear to me how recreating
> the baloo index help kmail recreate the message lists for each kmail
> folder. Is it not akonadi that maintains the kmail database? Or is the
> implication that kmail uses baloo to maintain the message list for each
> kmail folder?
I don't have answers here; I just know that (re)moving the baloo directory
forces a rebuild of the database and sorts out the mess of duplicated
messages. It can't magically repair damaged ones though.
> You will appreciate that I am a little apprehensive about deleting any
> database file without being sure that it will (1) solve the problem and
> (2) can be recreated error-free.
So just move it somewhere while you test. And remember what I said about
other KPim components.
Good luck.
--
Regards
Peter
> On Sun 04 Dec 2016 12:00:02 kdepim-users-request at kde.org wrote:
> > Re: Kmail: Archiving folders with corrupt duplicate messages
> > Date: 03.12.2016 16:07
> > From: Peter Humphrey <peter at prh.myzen.co.uk>
> > To: kdepim-users at kde.org
> >
> > On Friday 02 Dec 2016 18:31:55 Peter Wibberley wrote:
> > > My objective is to move my kmail and other PIM data to a new computer
> > > with a fresh install of Linux Mint 17.3KDE. I would like some means
> > > of cleaning my kmail folders without having to search for the rogue
> > > duplicate messages one by one. so that I can archive and move my
> > > kmail messages.
> >
> > I've spent many an hour wrestling with KMail-2 and duplicate or corrupt
> > messages. I too have only POP3 accounts, no IMAP.
> >
> > Have you tried the folder archive tool in KMail? If you select Local
> > Folders, then Archive Folder, it will tar up all the messages in all
> > your local folders. You can export your filters too from the Configure
> > Filters dialogue. I suggest you do that, then:
> >
> > Make sure KMail and akonadi aren't running, by commanding "akonadictl
> > stop". Wait until ps doesn't show akonadi or MySQL running, then rm -r
> > ~/.local/share/baloo. Restart akonadi and go and make a brew while it
> > re-
> > indexes all your messages. Disclaimer: I don't use any of the other PIM
> > components, only KMail, so I can't offer any guarantees. Maybe you just
> > need to remove ~/.local/share/baloo/email; I haven't tried doing that.
> >
> > You may have to repeat both steps once or twice, but after that you
> > should have a reasonably clean message set, which you will be able to
> > import into your new setup.
> >
> > One hint: when running operations on folders, don't be tempted to start
> > one until the previous one has finished - it can only do one thing at a
> > time, poor thing. I found the hard way that impatience here causes all
> > sorts of problems; since learning that lesson I've had no more
> > corruption of e-mails.
More information about the kdepim-users
mailing list