Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 08-30-2009, 08:05 AM   #1
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,719

Rep: Reputation: 175Reputation: 175
KMail: Mail folder location and correct storage space calculation?

Dear all,

my quick research on LQ and with my favourite internet search engines hasn't given useful results, but if I am missing something, please just give me a pointer into the right direction. During the migration to Slackware 13 and KDE 4.2.4 I observed something I don't understand regarding KMail.

My understanding is, that KMail stores email messages by default in ~/.kde/share/apps/kmail. Problem is that storage space is calculated differently depending on the PWD and command I use.

Using du in kmail I get:

user@linux:~/.kde/share/apps/kmail$ du -s -m *
1       autosave
1       autosave.index.ids
1       dimap
1       imap
1       lock
2102    mail
1       search
1       unfiltered.1079850475
Now, when I change into mail in order to check the size of the sub-folders and files there, I get only small numbers, that never result in the 2102 MB computed by su:

user@linux:~/.kde/share/apps/kmail$ cd mail
user@linux:~/.kde/share/apps/kmail/mail$ du -s -m *
1       Aktuell
1       Archiv
1       SP0axA2dAcU
1       SP0axa00429
1       SP0axeyQHCn
1       drafts
95      inbox
1       outbox
75      sent-mail
1       templates
1       trash
I'd be grateful, if anyone could give me a short explanation, what's going on here, and if this behaviour is correct or indicating that something's fundamentally wrong with my system.

If the figures of both commands are correct: Where are the missing 1800 MB, then, not seen by the second du?

Thanks in advance!

Old 09-04-2009, 06:17 AM   #2
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,719

Original Poster
Rep: Reputation: 175Reputation: 175
[SOLVED] Marked it as solved, but actually it isn't. I just want to create a new thread with a better title. Obviously noone replied, because noone understood what I was asking. I hope to make it clearer in a new thread



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kmail Could not create folder $ /HOME/.mail dolphans1 Mandriva 2 01-19-2006 10:17 AM
solved KMail could not create folder '$HOME/Mail' after regression mandriva 2006 2005 Emmanuel_uk Linux - Software 0 01-10-2006 04:44 PM
External storage og mail (kmail) Thulemanden Linux - Software 7 10-19-2005 10:25 AM
Location of mail storage once the quota has reached the limit jomy Linux - Enterprise 0 01-10-2005 07:09 AM
Can't Recover Mail folder with kmail aeruzcar Linux - General 0 04-13-2004 09:31 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration