On Wed, 2007-07-04 at 12:21 +0200, Peter Eriksson wrote:
location =
maildir:~/Maildir/.snapshot/nightly.0:CONTROL=~/.dovecot/control:INDEX=~/.dovecot/index
..
location =
maildir:~/Maildir/.snapshot/nightly.1:CONTROL=~/.dovecot/control:INDEX=~/.dovecot/index
I don't think it's a good idea to point control and index paths to same place. It at least gives errors about expunged messages suddenly appearing again.
Maybe the easiest would be to have INDEX=MEMORY assuming that these mailboxes are rarely accessed (then again many clients do STATUS to all mailboxes..)
If you're using Dovecot's deliver so that dovecot-uidlist is always up-to-date, you can point the control files inside the snapshot. Otherwise they should have control.* directories.
I think I tried setting up hierarchical namespaces but it didn't work (I would have liked to see snapshot/0, snapshot/1 etc).
This should work in v1.1.