LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



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

Rep: Reputation: 142Reputation: 142
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:

Code:
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:

Code:
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!

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

Original Poster
Rep: Reputation: 142Reputation: 142
[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

gargamel
 
  


Reply


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 11:17 AM
solved KMail could not create folder '$HOME/Mail' after regression mandriva 2006 2005 Emmanuel_uk Linux - Software 0 01-10-2006 05:44 PM
External storage og mail (kmail) Thulemanden Linux - Software 7 10-19-2005 11:25 AM
Location of mail storage once the quota has reached the limit jomy Linux - Enterprise 0 01-10-2005 08:09 AM
Can't Recover Mail folder with kmail aeruzcar Linux - General 0 04-13-2004 10:31 PM


All times are GMT -5. The time now is 09:33 AM.

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