[Dovecot] load sbub-mailbox

Daniel Parthey daniel.parthey at informatik.tu-chemnitz.de
Sat Jan 5 21:57:49 EET 2013


mourik jan heupink wrote:
> Our 'old' imap mailserver will remain available, and has the same
> usernames/passwords as our future dovecot mailserver.
> 
> The question: Is there an easy way to make the old mailboxes
> available under a subfolder (for example 'oldmail') in the mailboxes
> on the new mailserver?
> 
> A bit like mounting an old homedirectory under an 'oldfiles'
> directory on a new fileserver.
> 
> This way our users could access/migrate whatever folders they choose
> themselves, and we would not have migrate all messages to dovecot
> using scripts like imapcopy, etc.
> 
> Perhaps using the proxy functionality..?

I would try to create a private namespace "oldmail"
http://wiki2.dovecot.org/Namespaces
with an imapc proxy
http://wiki2.dovecot.org/HowTo/ImapcProxy

I didn't test it, but configuration could look like this:

imapc_host = oldmailserver
namespace {
  type = private
  separator = /
  prefix = oldmail/
  location = imapc:
  inbox = no
  hidden = no
  list = yes
}

Regards
Daniel
-- 
https://plus.google.com/103021802792276734820


More information about the dovecot mailing list