[kdepim-users] ~/.Mail.directory

Andras Mantia amantia at kde.org
Sun Jul 7 21:06:01 BST 2013


Martin Steigerwald wrote:

> I am actually not sure what this third line does.
TopLevelIsContainer=true ?

KMail can handle two kind of maildir folders (well 3, but let's stay at 2 
now). In one case the folder it points to is a "container" folder, so 
subfolders are inside the folder. This is how in KMail1 was:
Mail
  inbox 
    cur 
    new
    tmp
  somefolder
    cur
    new
    tmp
  .somefolder.directory
    cur
    new
    tmo
    subfolder_in_subfolder


In the above scenario you cannot have standalone mails under Mail (the 
toplevel folder). 

The other case is when the toplevel folder can have mails, so it is a 
"regular" maildir folder. In this case you'd have
.Mail.directory
  inbox
  [...all the rest here..]
Mail
  cur
  new
  tmp

AFAIK this is the default layout in new installs.

There is some confusion around it (also for the users and in the code...), 
and sometimes when you realize that you pointed the maildir agent to e.g 
Mail and you still see no content, the above confusion is the cause. In 
those cases a quick fix is to make a .Mail.directory symlink to Mail .

Andras
  
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users



More information about the kdepim-users mailing list