Re: Lost "rebuild index"?

Ingo Klöcker <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
On Saturday 29 January 2011, Anne Wilson wrote:
> On Saturday 29 January 2011 15:19:59 Ingo Klöcker wrote:
> > On Saturday 29 January 2011, Anne Wilson wrote:
> > > On Friday 28 January 2011 18:20:44 Ingo Klöcker wrote:
> > > > On Thursday 27 January 2011, Anne Wilson wrote:
> > > > > I'm using Fedora 14 with KMail Version 1.13.5 and my inbox
> > > > > has begun to show me the infamous "unknown" messages.  I
> > > > > looked for the Rebuild Index facility, but couldn't find it
> > > > > either on the folder context menu or on the Folder top menu.
> > > > >  I know I can delete index files, but I wanted to try the
> > > > > rebuild first. Doesn't it exist in this version?
[snip]
> > 
> > Or are we talking about an IMAP folder? For IMAP folders there is
> > no such button in the Maintenance tab.
> 
> Yes, plain IMAP.
> 
> > > It tells me that
> > > my index is
> > > /home/anne/.kde/share/apps/kmail/imap/.133252502.directory/.INBOX
> > > .in dex.
> > 
> > Okay, so we seem to be talking about IMAP folders (which are stored
> > in .../kmail/imap) and not disconnected IMAP folders (which are
> > stored in .../kmail/dimap). OTOH, above you mention maildir. But
> > KMail uses mbox for the local IMAP cache (only message headers)
> > and maildir for the local disconnected IMAP cache (complete
> > messages). So, either one of your statements is wrong or your
> > setup is utterly screwed.
> 
> Yes, thanks to that statement I've found the mbox file.  So if the
> Inbox is on
> /mnt/server/anne/.kde/share/apps/kmail/imap/.1687036093.directory/
> where are the index files?  I've got three (No Subject) Unknown
> Unknown 0B messages in the IMAP Inbox.

The index files are always next to the mbox file. So under
/mnt/server/anne/.kde/share/apps/kmail/imap/.1687036093.directory/
there should at least be INBOX, .INBOX.index, .INBOX.index.ids.


> > The top-level account folders in .../kmail/imap and .../kmail/dimap
> > are always empty. They are just used as containers for the
> > accounts' real top-level folders.
> > 
> > Is there a .1687036093.directory folder?
> > 
> > Have a look at the [Account ...] sections in your kmailrc to see
> > which ID KMail uses for your IMAP account.
> 
> Right.  By examining the kmailrc both on the laptop and on the server
> it becomes clearer where these numbers come from.  The laptop calls
> my IMAP account 133252502 while the server calls it 1687036093. 
> Does that explain where I went wrong, and where I should be looking?

You need to look into the .directory folder with the corresponding 
number, i.e. .133252502.directory on the laptop and 
.1687036093.directory on the server.


Regards,
Ingo

_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)

iEYEABECAAYFAk1FYbMACgkQGnR+RTDgudj9JACdFZgKQJguvlUNlWWvHrpnIH33
DOgAoMQlNhflaxOh9wIXPRwQp2Lpf0H0
=OxrT
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.