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

Where are my local mails and folders located?

Tags: None
(comma "," separated)
piedro
Registered Member
Posts
374
Karma
1
OS
Hello everybody!

I use KDE 4.10.5 on Arch. For reasons I don't understand Kmail lost the connection to my local folders.
So I made a backup of "/.local/share/local-mail/" and ".local/share/.local-mail.directory", deleted the "local folders"-agent in Akonadi console and created a new one. The new agent points correctly to ".local/share/local-mail" and new local folders haev been created in kmail.

Now: When I create subfolders and move mails into my new local folders they don't show up anywhere in my file system though they are accessible via kmail.


Where are they? Creating a folder "testing" under "local folders" in kmail does work and there's twenty mail in it. Searching my file system (yes, I included hidden folders) brings up no resultes for "testing" neither do I find it or the twenty mails under "local-mail" or in ".local-mail.directory"!

Where is my mail located?
Has something changed with the storage of local mails and folders which I am not aware of?
How comes I can access and manipulate the mails in kmail without finding any corresponding files?

please, if someone could clarify this and tell me what to find my mails.

thx for reading,
piedro
piedro
Registered Member
Posts
374
Karma
1
OS
Still noone any idea?

I imported 14 000 mails into my local folders located at .local/share/local-mail but none of the mails shows up in there (thought they are kmail!
Also they are not in .local/share/.local-mail.directory ....


Where are they?

plz any clarification here would be very much appreciated ...

thx, piedro
User avatar
kees61
Registered Member
Posts
46
Karma
0
OS
i think it is in ~ /.local/share/akonadi/file_db_data


Gentoo, KDE plasma 5.8.5, fw 5.30.0, app 16.12.1
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
These are in only if you use disconnected IMAP. Local mail is kept in Maildir format in the directories stated in the resource that hosts them (although sometimes it is hard to find them).


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
kees61
Registered Member
Posts
46
Karma
0
OS
Ok, then I don't understand it either.
I have onle 12 maildirs.
In KMail there are about 40 maps. Most of the incoming mail is filtered and moved into those maps.

I created a new map and it appears as a maildir. I can't choose anything for that new map, except a name.
Moved a few messages to it in KMail, but nothing is written to that new maildir. But in KMail the moved messages are there.
Most of the local mail is in ~/.local/share/akonadi/file_db_data

I don't use imap.
What is local mail?

I am confused.


Gentoo, KDE plasma 5.8.5, fw 5.30.0, app 16.12.1
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Local mail is stored in either mbox or Maildir format, the latter being preferred by default by KMail. Can you post the contents (ls -la) of the path in the configuration for these folders?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
kees61
Registered Member
Posts
46
Karma
0
OS
Code: Select all
share # ls -la local-mail/*
local-mail/drafts:
totaal 0
drwxr-xr-x  5 kees kees 120 16 nov 02:45 .
drwxr-xr-x 14 kees kees 384  6 jan 21:30 ..
drwxr-xr-x  2 kees kees  48 16 nov 02:45 cur
drwxr-xr-x  2 kees kees  48 22 nov 20:15 new
drwxr-xr-x  2 kees kees  48 16 nov 02:45 tmp

local-mail/Forums:
totaal 0
drwxr-xr-x  5 kees kees 120 16 nov 02:55 .
drwxr-xr-x 14 kees kees 384  6 jan 21:30 ..
drwxr-xr-x  2 kees kees  48 16 nov 02:55 cur
drwxr-xr-x  2 kees kees  48 16 nov 02:55 new
drwxr-xr-x  2 kees kees  48 16 nov 02:55 tmp
[...]

local-mail/trash:
totaal 1
drwxr-xr-x  5 kees kees 120 16 nov 02:45 .
drwxr-xr-x 14 kees kees 384  6 jan 21:30 ..
drwxr-xr-x  2 kees kees  48 16 nov 02:45 cur
drwxr-xr-x  2 kees kees 960  7 jan 11:23 new
drwxr-xr-x  2 kees kees  48 16 nov 02:45 tmp

In total 10 maildirs
So the other 30 submaps are in the akonadi database but not on the harddisk as maildir.

In local-mail/trash/new are 19 files. But in KMail there are 97 messages in the trash folder.

Most of local-mail/* is empty but in KMail it shows (a lot of) messages.

It is very confusing.


Gentoo, KDE plasma 5.8.5, fw 5.30.0, app 16.12.1
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
I'm a little confused by your terminology. What are the "submaps" you mention, exactly?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
kees61
Registered Member
Posts
46
Karma
0
OS
Sorry, English is not my native language :-)
In KMail I have
Code: Select all
local mail
 |___submap1
 |__submap2
 |        |__submap2-1
 |        |___ 2-2
 |...

Just branches of the main local mail map.
Most of them are not available as subdirectories of ~/.local/share/local-mail
The messages are in ~/.local/share/akonadi/fild_db_data


Gentoo, KDE plasma 5.8.5, fw 5.30.0, app 16.12.1
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
I'll try to ask the developers about it, as this is becoming a major source of confusion.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
promeneur
Registered Member
Posts
30
Karma
0
OS
sorry an error


OpenSuse 15.3 x86_64,Asus Prime B250M-A, Intel Core i5-7400, 16 GB, Intel HD Graphics 630, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com , epson XP-7100, Headset bluetooth 3.0 Philips SHQ7300
User avatar
kees61
Registered Member
Posts
46
Karma
0
OS
Thanks einar,

If they tell something interesting, pleas let us know.

--Kees


Gentoo, KDE plasma 5.8.5, fw 5.30.0, app 16.12.1


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]