missing 12GB of mail going back 2 decades after reboot

Jörg Schaible joerg.schaible at gmx.de
Wed Dec 22 08:49:01 GMT 2021


Hi,

the point is that there's no real standard concerning subfolders for a local 
maildir. KMail does this:

====================== %< =======================
~ $ ls .local/share/local-mail/
cur  new  tmp
~ $ ls .local/share/.local-mail.directory/
quarantine  drafts  inbox  outbox  sent-mail  templates  trash
====================== %< =======================

So, all subfolders are managed in a sibling directory with the name pattern 
".<foldername>.directory". Each of these subdirectories above has its own 
triple of cur, new and tmp again.

Hope this helps,
Jörg

Am Mittwoch, 22. Dezember 2021, 02:04:26 CET schrieb gene heskett:
> On Tuesday, December 21, 2021 6:38:27 PM EST you wrote:
> > On Tuesday, 21 December 2021 01:39:10 GMT you wrote:
> > > On Monday, December 20, 2021 9:29:41 AM EST you wrote:
> > > > Have you checked in /home/your user name/.local ? I’m willing to be it
> > > > is
> > > > there.Colin
> > > 
> > > nope:
> > > gene at coyote:~$ ls -lR .local/share/local-mail
> > > .local/share/local-mail:
> > > total 5320
> > > drwxr-xr-x 2 gene gene    4096 Dec  1 13:07 cur
> > > drwxr-xr-x 5 gene gene    4096 Dec  1 13:07 drafts
> > > drwxr-xr-x 5 gene gene    4096 Dec  1 19:12 emc
> > > -rw------- 1 gene gene 5385085 Dec  2 05:34 gene
> > > drwxr-xr-x 5 gene gene    4096 Dec  1 13:07 inbox
> > > drwxr-xr-x 5 gene gene    4096 Dec  1 19:13 kde
> > > -rw------- 1 gene gene    5768 Dec  2 06:03 msg.IpAPD
> > > -rw------- 1 gene gene    4565 Dec  2 07:11 msg.XqAPD
> > > drwxr-xr-x 2 gene gene    4096 Dec  1 13:07 new
> > > drwxr-xr-x 5 gene gene    4096 Dec  1 13:07 outbox
> > > drwxr-xr-x 5 gene gene    4096 Dec  1 13:07 sent-mail
> > > drwxr-xr-x 5 gene gene    4096 Dec  1 13:07 templates
> > > drwxr-xr-x 2 gene gene    4096 Dec  1 13:07 tmp
> > > drwxr-xr-x 5 gene gene    4096 Dec  1 13:07 trash
> > > 
> > > .local/share/local-mail/cur:
> > > total 0
> > > 
> > > .local/share/local-mail/drafts:
> > > total 12
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 cur
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 new
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 tmp
> > > 
> > > .local/share/local-mail/drafts/cur:
> > > total 0
> > > 
> > > .local/share/local-mail/drafts/new:
> > > total 0
> > > 
> > > .local/share/local-mail/drafts/tmp:
> > > total 0
> > > 
> > > .local/share/local-mail/emc:
> > > total 12
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 19:12 cur
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 19:12 new
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 19:12 tmp
> > > 
> > > .local/share/local-mail/emc/cur:
> > > total 0
> > > 
> > > .local/share/local-mail/emc/new:
> > > total 0
> > > 
> > > .local/share/local-mail/emc/tmp:
> > > total 0
> > > 
> > > .local/share/local-mail/inbox:
> > > total 12
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 cur
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 new
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 tmp
> > > 
> > > .local/share/local-mail/inbox/cur:
> > > total 0
> > > 
> > > .local/share/local-mail/inbox/new:
> > > total 0
> > > 
> > > .local/share/local-mail/inbox/tmp:
> > > total 0
> > > 
> > > .local/share/local-mail/kde:
> > > total 12
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 19:13 cur
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 19:13 new
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 19:13 tmp
> > > 
> > > .local/share/local-mail/kde/cur:
> > > total 0
> > > 
> > > .local/share/local-mail/kde/new:
> > > total 0
> > > 
> > > .local/share/local-mail/kde/tmp:
> > > total 0
> > > 
> > > .local/share/local-mail/new:
> > > total 0
> > > 
> > > .local/share/local-mail/outbox:
> > > total 12
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 cur
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 new
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 tmp
> > > 
> > > .local/share/local-mail/outbox/cur:
> > > total 0
> > > 
> > > .local/share/local-mail/outbox/new:
> > > total 0
> > > 
> > > .local/share/local-mail/outbox/tmp:
> > > total 0
> > > 
> > > .local/share/local-mail/sent-mail:
> > > total 12
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 cur
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 new
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 tmp
> > > 
> > > .local/share/local-mail/sent-mail/cur:
> > > total 0
> > > 
> > > .local/share/local-mail/sent-mail/new:
> > > total 0
> > > 
> > > .local/share/local-mail/sent-mail/tmp:
> > > total 0
> > > 
> > > .local/share/local-mail/templates:
> > > total 12
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 cur
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 new
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 tmp
> > > 
> > > .local/share/local-mail/templates/cur:
> > > total 0
> > > 
> > > .local/share/local-mail/templates/new:
> > > total 0
> > > 
> > > .local/share/local-mail/templates/tmp:
> > > total 0
> > > 
> > > .local/share/local-mail/tmp:
> > > total 0
> > > 
> > > .local/share/local-mail/trash:
> > > total 12
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 cur
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 new
> > > drwxr-xr-x 2 gene gene 4096 Dec  1 13:07 tmp
> > > 
> > > .local/share/local-mail/trash/cur:
> > > total 0
> > > 
> > > .local/share/local-mail/trash/new:
> > > total 0
> > > 
> > > .local/share/local-mail/trash/tmp:
> > > total 0
> > > 
> > > > Sent from the all-new AOL app for iOS
> > > > 
> > > > 
> > > > On Monday, December 20, 2021, 12:31 pm, gene heskett
> > > > <gheskett at shentel.net>
> > > > wrote:
> > > > 
> > > > Greetings all;
> > > > 
> > > > I'm unhappy. VERY unhappy.
> > > > 
> > > > Most of the custom filters AND FOLDERS I rebuilt were erased by a
> > > > reboot
> > > > to
> > > > install a fresh kernel. That's over 10 gigabytes of old mail,
> > > > carefully
> > > > sorted into their own folders that some bug wiped out.
> > > > 
> > > > I can, from amanda backups, probably reimport them again since I've
> > > > yet
> > > > to
> > > > restart amanda on this new install.
> > > > 
> > > > This is BS, so how can I prevent a repeat of this on the next reboot?
> > > > 
> > > > No Cheers, Gene Heskett.
> > > 
> > > Cheers, Gene Heskett.
> > 
> > I can see a number of akonadi mail directories there such as cur new tmp
> > inbox outbox and sent-mail you need to look inside these too. In addition
> > to these there may also be a hidden directory in
> > .local/share/.local-mail.directory which may have your files. That is the
> > local mail folder on my system however over the years thsi default seems
> > to
> > have changed and it is not always a hidden file. The database tables of
> > the
> > mail should also still exist in .local/share/akonadi. If your original db
> > server is still around these should be loadable, you'll also find some
> > logs
> > in there which may help. Best,
> > Colin
> 
> but as you can see, they are all empty. And i've prowled the whole .local
> tree. I do have, recovered from backups, the whole old kmail tree, and it
> complete to the last full on Dec 2 I think, but no way to make this new
> kmail5 see it. And that question has been asked in several formats with no
> replies by anyone who actually knows how this new kmail works.
> 
> I also have alongside that tree, a Mail.directory that does contain what I
> assume was imported from the old Mail tree, but again this kmail cannot now
> see it. And nobody seems to know how to make it work.
> 
> I'll gladly post anything you might think is helpful. I'm also going to cc
> the kdepim-users list just to put it in front of the most eyeballs.
> 
> Takie care and stay well all.
> 
> Cheers, Gene Heskett.






More information about the kdepim-users mailing list