Copies/duplicates of Dovecot indices

Joseph Tam via dovecot <[email protected]>
Newsgroups gmane.mail.imap.dovecot
Message-ID <2b65946b-cc19-f120-f8ec-e10cf5b905b0@nodomain>
In my setup, I put mail indices outside the user's mailbox locations
(user mailboxs are NFS, indices stored local attached storage).

I notice that sometimes, there are 2 sets of indices representing the
same mailbox: one at top level, one underneath .imap/.  (They usually
appear in the latter.)   For example, if I have the configuration

 	(Dovcot version 3.2.21)
 	mail_location = mbox:~/mail:INBOX=/nfs/mail/%n:INDEX=/cache/%n

I see for a particular user

 	[1] drwx------   5 user     group      512 Feb 22 21:56 /cache/user/box
 	[2] drwxr-xr-x   5 user     group      512 Feb 22 21:46 /cache/user/.imap/box

cooresponding to their mailbox in ~user/mail/box.  Each of these have the
dovecot.* index files.

If I delete [1], it comes back.  The timestamps are close to each other
so both sets are being used, possibly by different clients.

Another quirky discovery is 2 /.imap/ folders beneath each other e.g.

 	/cache/user/.imap/folder1/folder2/.imap/box/dovecot.index

What determines which index pathname gets created or used?

Joseph Tam <[email protected]>
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.