[Dovecot] Accessing maildir snapshots through dovecot
Hi,
I'm currently having a fairly simple setup:
- users (real, not virtual)
- Maildir storage (over NFS)
- 1 namespace
I'm currently trying to render the storage snapshots available through dovecot (to allow my users to browse their mail history).
dovecot.conf: namespace { inbox = yes location = prefix = INBOX. type = private }
I did the following modifications: dovecot.conf: namespace snaps-h0 { prefix = INBOX.EmailBackup.h0. hidden = no list = yes inbox = no location = maildir:/home/.snapshot/hourly.0/%u/Maildir:INDEX=/var/tmp/dovecot/indexes/hourly.0/%u:CONTROL=/var/dovecot/control/hourly.0/%u type = private }
Problem: I don't see the content of the inbox folder contained in the snapshots (subfolders are perfectly viewed).
Do any of you have a clue on how to render it visible ?
Thanks
Laurent
On Mon, 2012-03-19 at 10:06 +0100, Laurent CARON wrote:
I did the following modifications: dovecot.conf: namespace snaps-h0 { prefix = INBOX.EmailBackup.h0. hidden = no list = yes inbox = no location = maildir:/home/.snapshot/hourly.0/%u/Maildir:INDEX=/var/tmp/dovecot/indexes/hourly.0/%u:CONTROL=/var/dovecot/control/hourly.0/%u type = private }
Problem: I don't see the content of the inbox folder contained in the snapshots (subfolders are perfectly viewed).
Do any of you have a clue on how to render it visible ?
So the INBOX mails would be in /home/.snapshot/hourly.0/%u/Maildir/{cur| new} directories? The INBOX should be accessible via the "INBOX.EmailBackup.h0" folder itself. If it's not, you may need to use a newer Dovecot version.
On 19/03/2012 14:57, Timo Sirainen wrote:
So the INBOX mails would be in /home/.snapshot/hourly.0/%u/Maildir/{cur| new} directories? The INBOX should be accessible via the "INBOX.EmailBackup.h0" folder itself. If it's not, you may need to use a newer Dovecot version.
It's not actually.
Sorry for the obvoius info I didn't give.
I'm currently using dovecot 2.0.7
Regards,
Laurent
On 19/03/2012 15:05, Laurent CARON wrote:
On 19/03/2012 14:57, Timo Sirainen wrote:
So the INBOX mails would be in /home/.snapshot/hourly.0/%u/Maildir/{cur| new} directories? The INBOX should be accessible via the "INBOX.EmailBackup.h0" folder itself. If it's not, you may need to use a newer Dovecot version.
It's not actually.
Sorry for the obvoius info I didn't give.
I'm currently using dovecot 2.0.7
Regards,
Laurent
Upgrading did the trick.
Thanks
participants (3)
-
Laurent CARON
-
Laurent CARON
-
Timo Sirainen