Moving Maildir folders

chaouche yacine yacinechaouche at yahoo.com
Mon Jul 18 09:18:29 UTC 2016


>From: "@lbutlr" <kremels at kreme.com>
>To: dovecot at dovecot.org 
>Sent: Monday, July 18, 2016 9:19 AM
>Subject: Re: Moving Maildir folders
>
>The folders new, tmp, and cur are the Maildir folders for INBOX.



Every subfolder has new,tmp and cur directories. Every subfolder is a Maildir.

>From http://www.courier-mta.org/imap/README.maildirquota.html?rev=1.1 :

<<
Each subdirectory is a fully-fledged Maildir of its own, that is you have .Important/tmp, .Important/new, and .Important/cur. Everything that applies to the main Maildir applies equally well to the subdirectory, including automatically cleaning up old files in tmp. A Maildir++ enhancement is that a message can be moved between folders and/or the main Maildir simply by moving/renaming the file (into the cur subdirectory of the destination folder). Therefore, the entire Maildir++ must reside on the same filesystem.

Within each subdirectory there's an empty file, maildirfolder. Its existence tells the mail delivery agent that this Maildir is a really a folder underneath a parent Maildir++.>>

Although this is from the courier website, it is a definition of the maildir structure which is a standard (it's not specific to courier).

Yassine.


More information about the dovecot mailing list