This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kmail2 - where is the mail??

Tags: None
(comma "," separated)
User avatar
sredna
Registered Member
Posts
225
Karma
1
OS

kmail2 - where is the mail??

Sat Jul 09, 2011 10:05 am
I always kept my (pop3) mail in ~/Mail, but with my traumatic migration process, I am not sure where kmail/akonadi looks for my mail anymore.

I have a "local folders" resource, with the path set to "~/.local/share/local-mail", but the directory structure there looks empty:

Code: Select all
[anders@katja ~]$ find  .local/share/local-mail
.local/share/local-mail
.local/share/local-mail/cur
.local/share/local-mail/new
.local/share/local-mail/tmp
[anders@katja ~]$

So where does my mail go? It would feel safe to know, so that I can make backups and avoid deleting it!
User avatar
annew
Manager
Posts
1155
Karma
11
OS

Re: kmail2 - where is the mail??

Sat Jul 09, 2011 10:40 am
Check ~/Mail, it should still be there. Akonadi stores metadata in the database - think of it as an extended index - and your mail should not have moved at all.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
sredna
Registered Member
Posts
225
Karma
1
OS

Re: kmail2 - where is the mail??

Sat Jul 09, 2011 11:30 am
annew wrote:Check ~/Mail, it should still be there. Akonadi stores metadata in the database - think of it as an extended index - and your mail should not have moved at all.


That would be wonderful. Recent mail (from today) does not appear to be in there, though. I can't find that anywhere :$
User avatar
NoobSaibot
Registered Member
Posts
73
Karma
0
OS

Re: kmail2 - where is the mail??

Sun Jul 10, 2011 8:32 pm
my mails are in ~/.kde4/share/apps/kmail/mail


NoobSaibot, proud to be a member of KDE forums since 2008-Oct.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

Re: kmail2 - where is the mail??

Sun Aug 14, 2011 5:20 pm
sredna wrote:
annew wrote:Check ~/Mail, it should still be there. Akonadi stores metadata in the database - think of it as an extended index - and your mail should not have moved at all.


That would be wonderful. Recent mail (from today) does not appear to be in there, though. I can't find that anywhere :$


If you only see "Local Folders" in KMail your mails are under $HOME/.local/share/.local-mail.directory

You can create an accessor for your old KMail mail manually by adding a "KMail Folders" account/backend handler and pointing it to $HOME/Mail

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
jasn
Registered Member
Posts
11
Karma
0
OS

Re: kmail2 - where is the mail??

Sun Aug 14, 2011 11:20 pm
Try looking for your local folders/emails in;

Code: Select all
~/.local/share/.local-mail.directory

Good Luck..
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS

Re: kmail2 - where is the mail??

Tue Nov 29, 2011 7:23 pm
jasn wrote:Try looking for your local folders/emails in;

Code: Select all
~/.local/share/.local-mail.directory

Good Luck..



Why is it here? The configuration specifies .local-mail, how does it end up in .local-mail.directory?


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

Re: kmail2 - where is the mail??

Wed Nov 30, 2011 11:09 am
That is how maildir works.
Each folder has three subfolders for its own mail, e.g. local-mail/cur, local-mail/new, local-mail/tmp

It's subfolders are then stored in a directory with the same name but prefixed by period and sufficexed by .directory, in the case of "local-mail" that makes ".local-mail.directory"


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
eehmke
Registered Member
Posts
6
Karma
0
OS

Re: kmail2 - where is the mail??

Fri Dec 02, 2011 7:38 pm
sredna wrote:So where does my mail go? It would feel safe to know, so that I can make backups and avoid deleting it!
[/code]


Look at my thread (with solution):
viewtopic.php?f=20&t=97996
maybe it may be useful for you. Note my mails ware original in ~/Mail it is important not to use the same folder to copy them back!


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]