[Dovecot] Maildir format

Roman Gelfand rgelfand2 at gmail.com
Fri Feb 14 15:30:29 UTC 2014


I am not sure where I went wrong here.  The wiki says...

By default 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")

You can also optionally use the "fs" layout by appending :LAYOUT=fs to
mail_location. This makes the folder structure look like:

~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain the
messages for INBOX, just like with Maildir++.

~/Maildir/folder/ is a mailbox folder

~/Maildir/folder/subfolder/ is a subfolder of a folder



Here is my folders.  Though there are emails in the inbox, I am not
seeing anything in new/ or cur/ folders.

root at mbx:/etc/dovecot# ls -la /vmail/domain.tld/j.doe/Maildir/
drwx------ 5 999 mail  4096 Feb 14 10:06 .
drwx------ 3 999 mail  4096 Feb 12 19:53 ..
drwx------ 2 999 mail  4096 Feb 14 10:02 cur
-rw------- 1 999 mail 17408 Feb 14 10:02 dovecot.index.cache
-rw------- 1 999 mail  2896 Feb 14 10:06 dovecot.index.log
-rw------- 1 999 mail    51 Feb 14 10:06 dovecot-uidlist
-rw------- 1 999 mail     8 Feb 12 19:53 dovecot-uidvalidity
-r--r--r-- 1 999 mail     0 Feb 12 19:53 dovecot-uidvalidity.52fc176c
drwx------ 2 999 mail  4096 Feb 14 10:02 new
drwx------ 2 999 mail  4096 Feb 14 09:59 tmp

root at mbx:/etc/dovecot# ls -la  /vmail/domain.tld/j.joe/Maildir/new
total 8
drwx------ 2 999 mail 4096 Feb 14 10:02 .
drwx------ 5 999 mail 4096 Feb 14 10:06 ..


root at mbx:/etc/dovecot# ls -la  /vmail/domain.tld/j.joe/Maildir/cur
total 8
drwx------ 2 999 mail 4096 Feb 14 10:02 .
drwx------ 5 999 mail 4096 Feb 14 10:06 ..



On Fri, Feb 14, 2014 at 9:41 AM, Steffen Kaiser
<skdovecot at smail.inf.fh-brs.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, 14 Feb 2014, Roman Gelfand wrote:
>
>> I see where the mail box meta data is kept.  But don't the actual
>> emails.  I was under the impression the impression the email was kept,
>> on the server, as .eml.
>
>
> http://wiki2.dovecot.org/MailboxFormat/Maildir
>
> - -- Steffen Kaiser
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQEVAwUBUv4rNnD1/YhP6VMHAQJzRAgA0yz7cZ0tFAgzluubKN7jK0ha3bOXcd5A
> ue2aOVWfVz52eHUjgBDY5E4/s37WWe022WKNS1LAEcwbTC/xo7VdGYA472oQdxMm
> QWfOvEPdxF8nSY4GIeAe5YiYyszXhQE4i6bC/ouBh0v0OKu6T6VIdd9YYowMW43r
> fmpg23xHV/MY7Tk36ac41fZhDYvg0u0uMr7mJyKkf17kuRIBZ0G34AVBodbWml0/
> MN9oLSfIsriOq5zqZw5gkSg1GMsCHneNreKnRcnW5iVGXyYWWu9FoEUwTxUcrf9I
> vJI7JA+ut38YN8iO7pFzOvoJ0z4UPeIckp9/7zs8lkjjh5orhQAVcA==
> =9fx8
> -----END PGP SIGNATURE-----


More information about the dovecot mailing list