[Dovecot] debugging mail_location issues
Type of Maildir structure I am using came from KDE. No '.'s just folders. something like Maildir/ INBOX mail-sent outbox other
where each has cur new and tmp folders. if I access this directory with IMAP it creates cur new and tmp in the root. ie Maildir/ INBOX cur new tmp mail-sent outbox other
This implies to me
- it finds the Maildir directory
- it apparently does not have access to the directories like INBOX so it makes its own in the root? or is this a side effect I'm misunderstanding?
The resulting IMAP session shows an empty INBOX only (this must be the cur new tmp it added) The real INBOX is not accessible but still intact.
In a session this morning I could access all the folders just not the real INBOX. INBOX was as is here empty with cur new tmp in the root of the Maildir folder. This behavior makes no sense. I'm using the hierarchical structure as pointed to in. http://wiki1.dovecot.org/MailLocation/Maildir
It appears my grief surrounds dovecot's detection of mailbox. This is kind of what I said days ago. Setting up requires you to know expected states. Something in my environmment I haven't been able to identify (yet) is influencing recognising that hierarchical maildir structure.
-Walt
On 2011-03-30 5:12 PM, Walt Shekrota wrote:
Type of Maildir structure I am using came from KDE. No '.'s just folders.
According to the Wiki, dovecot uses Maildir++ directory structure, which requires the preceding dots in the directory names:
http://wiki2.dovecot.org/MailboxFormat/Maildir
Specifically:
"Directory Structure
Dovecot uses Maildir++ directory layout for organizing mailbox directories. This means that all the folders are directly inside ~/Maildir directory:
~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain
the messages for INBOX. The tmp directory is used during delivery, new messages arrive in new and read shall be moved to cur by the clients.
~/Maildir/.folder/ is a mailbox folder
~/Maildir/.folder.subfolder/ is a subfolder of a folder (ie.
"folder/subfolder")
Most importantly this means that if your maildir folders exist in eg. ~/Maildir/folder and ~/Maildir/folder/subfolder, Dovecot won't see them unless you rename them to Maildir++ layout. v1.1 supports them by adding :LAYOUT=fs to mail_location."
I don't know if the last sentence above should read ">>> v1.1+..." or if versions after 1.1 no longer support ':LAYOUT=fs' ...
--
Best regards,
Charles
participants (2)
-
Charles Marcus
-
Walt Shekrota