public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Orphan e-mail message in kmail
@ 2009-02-24 17:18 Peter Humphrey
  2009-02-24 18:06 ` Volker Armin Hemmann
  2009-02-24 18:53 ` Alan McKinnon
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Humphrey @ 2009-02-24 17:18 UTC (permalink / raw
  To: gentoo-user

Greetings,

After a power failure a few days ago, kmail-1.9.9 now has one message in one 
folder that can't be read, viewed, moved or deleted. It's shown at the top 
of the list instead of near the bottom, and nothing I can think of will 
make any change to it.

Can anyone suggest a reasonably safe approach to getting rid of it? I don't 
mind losing it as long as I don't lose anything else.

I suppose I could delete my home directory, create a new one and import 
kmail's stuff from the old to the new, together with other applications' 
stuff, but I don't know any way to import filters, and anyway it's an awful 
fag.

-- 
Rgds
Peter



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Orphan e-mail message in kmail
  2009-02-24 17:18 [gentoo-user] Orphan e-mail message in kmail Peter Humphrey
@ 2009-02-24 18:06 ` Volker Armin Hemmann
  2009-02-24 18:53 ` Alan McKinnon
  1 sibling, 0 replies; 4+ messages in thread
From: Volker Armin Hemmann @ 2009-02-24 18:06 UTC (permalink / raw
  To: gentoo-user

On Dienstag 24 Februar 2009, Peter Humphrey wrote:
> Greetings,
>
> After a power failure a few days ago, kmail-1.9.9 now has one message in
> one folder that can't be read, viewed, moved or deleted. It's shown at the
> top of the list instead of near the bottom, and nothing I can think of will
> make any change to it.
>
> Can anyone suggest a reasonably safe approach to getting rid of it? I don't
> mind losing it as long as I don't lose anything else.
>
> I suppose I could delete my home directory, create a new one and import
> kmail's stuff from the old to the new, together with other applications'
> stuff, but I don't know any way to import filters, and anyway it's an awful
> fag.

go into the mail directory and remove the index file. kmail must not running!
Then start kmail and let it re-index the directory. After that you can read 
it, move it, remove it.

Maybe just rebuilding index is enough, but I had cases in the past where that 
was not enough.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Orphan e-mail message in kmail
  2009-02-24 17:18 [gentoo-user] Orphan e-mail message in kmail Peter Humphrey
  2009-02-24 18:06 ` Volker Armin Hemmann
@ 2009-02-24 18:53 ` Alan McKinnon
  2009-02-26 11:31   ` Peter Humphrey
  1 sibling, 1 reply; 4+ messages in thread
From: Alan McKinnon @ 2009-02-24 18:53 UTC (permalink / raw
  To: gentoo-user

On Tuesday 24 February 2009 19:18:03 Peter Humphrey wrote:
> Greetings,
>
> After a power failure a few days ago, kmail-1.9.9 now has one message in
> one folder that can't be read, viewed, moved or deleted. It's shown at the
> top of the list instead of near the bottom, and nothing I can think of will
> make any change to it.
>
> Can anyone suggest a reasonably safe approach to getting rid of it? I don't
> mind losing it as long as I don't lose anything else.

You are probably using maildir for your mail - it's the default. Shut down 
kmail completely. Go to ~/.kde/share/apps/kmail/mail/<folder>/cur, and delete 
the actual file. grep can help you find it even if only by identifying the 
files that isn't it.

Then delete the relevant index files in ~/.kde/share/apps/kmail/mail.
Your inbox for example is called .inbox.index.* and there will be three of 
them.

Restart kmail, it will rebuild it's indexes and all will be well.

(With KDE-4, change those paths to ~/.kde4/....

> I suppose I could delete my home directory, create a new one and import
> kmail's stuff from the old to the new, together with other applications'
> stuff, but I don't know any way to import filters, and anyway it's an awful
> fag.

Don't delete your home dir! kmail keeps it's mail there and you will lose the 
lot.
-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Orphan e-mail message in kmail
  2009-02-24 18:53 ` Alan McKinnon
@ 2009-02-26 11:31   ` Peter Humphrey
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Humphrey @ 2009-02-26 11:31 UTC (permalink / raw
  To: gentoo-user

On Tuesday 24 February 2009 18:53:39 Alan McKinnon wrote:

> You are probably using maildir for your mail - it's the default. Shut
> down kmail completely. Go to ~/.kde/share/apps/kmail/mail/<folder>/cur,
> and delete the actual file. grep can help you find it even if only by
> identifying the files that isn't it.
>
> Then delete the relevant index files in ~/.kde/share/apps/kmail/mail.
> Your inbox for example is called .inbox.index.* and there will be three
> of them.
>
> Restart kmail, it will rebuild it's indexes and all will be well.

That did it - thanks.

> > I suppose I could delete my home directory, create a new one and import
> > kmail's stuff from the old to the new, together with other
> > applications' stuff, but I don't know any way to import filters, and
> > anyway it's an awful fag.
>
> Don't delete your home dir! kmail keeps it's mail there and you will lose
> the lot.

Slip of the tongue (pen? fingers?). I meant I'd move the home directory, not 
remove it.

Thanks again, and to Volker.

-- 
Rgds
Peter



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-26 11:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-24 17:18 [gentoo-user] Orphan e-mail message in kmail Peter Humphrey
2009-02-24 18:06 ` Volker Armin Hemmann
2009-02-24 18:53 ` Alan McKinnon
2009-02-26 11:31   ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox