[Dovecot] Using a namespace for providing access to mail snapshots for user based on-demand restoration of email backups

Timo Sirainen tss at iki.fi
Mon Apr 9 09:59:55 EEST 2012


On 6.4.2012, at 1.46, Joseph Tam wrote:

> One other consideration (at least for me) is if the INBOX and
> personal mail folders are stored in two separate FS's.  It would be nice
> to fuse the two sets of backups under the same namespace, but I don't
> know how the namespace prefix matching works and whether you can define
> hierarchical namespaces like
> 
> 	namespace {
> 		prefix = backup/inbox
> 		location = mbox:/path/to/inbox-snapdir/%u
> 		...
> 	}
> 
> 	namespace {
> 		prefix = backup/mail
> 		location = mbox:/path/to/mail-snapdir/%u
> 		...
> 	}

You can define hierarchical namespaces, although they've probably not been used outside my few tests. Well, except shared/<user>/ autocreated namespaces are already children to shared/ namespace, so I guess they should work.




More information about the dovecot mailing list