[Dovecot] Migrating shared folders from courier-imap to dovecot
Hi,
I'm hoping you'll be able to help. I'm working on a project to migrate our users from a courier-imap (4.3.0) based mail server to a dovecot (2.0.8) mail server.
I have got all the users migrated and working. However, I can't see how to migrate the shared folders from courier-imap. I have tried to find extra information all the migration information seems to centre around a user mailbox rather than shared mailboxes.
Is it simply a case of setting up the shared folders on dovecot, then copying the messages in, finally running the dovecot migration script across them?
Any advice would be greatly appreciated.
Thanks,
Tom
On Wed, 2011-06-29 at 11:45 +0100, Tom Clark wrote:
Hi,
I'm hoping you'll be able to help. I'm working on a project to migrate our users from a courier-imap (4.3.0) based mail server to a dovecot (2.0.8) mail server.
I have got all the users migrated and working. However, I can't see how to migrate the shared folders from courier-imap. I have tried to find extra information all the migration information seems to centre around a user mailbox rather than shared mailboxes.
Is it simply a case of setting up the shared folders on dovecot, then copying the messages in, finally running the dovecot migration script across them?
Did you want per-user flags with shared folders? IIRC Courier used some weird symlink directory for that, which won't work with Dovecot. http://wiki2.dovecot.org/SharedMailboxes lists all the ways you can currently do shared folders with Dovecot.
Hi Timo,
I think I confused everyone by referring to them as shared folders (I was using the Courier phrasing).
I'm setting up Public Folders and then limiting access using ACLs. I can get that far as to creating them, I'm just wondering if there was a specific way to migrate from Courier's "public" folders to Dovecot's public folder system, or is it just a case of dropping the mail in?
Am I right in thinking Dovecot doesn't have the "cur" and "new" folders on Public folders? If so, we used qmail-deliver (with the -c flag) to deliver our mail into the public folders, how should I go about delivering the mail into those folders?
Thanks,
Tom
-----Original Message----- From: Timo Sirainen [mailto:tss@iki.fi] Sent: 30 June 2011 6:41 AM To: Tom Clark Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Migrating shared folders from courier-imap to dovecot
On Wed, 2011-06-29 at 11:45 +0100, Tom Clark wrote:
Hi,
I'm hoping you'll be able to help. I'm working on a project to migrate our users from a courier-imap (4.3.0) based mail server to a dovecot (2.0.8) mail server.
I have got all the users migrated and working. However, I can't see how to migrate the shared folders from courier-imap. I have tried to find extra information all the migration information seems to centre around a user mailbox rather than shared mailboxes.
Is it simply a case of setting up the shared folders on dovecot, then copying the messages in, finally running the dovecot migration script across them?
Did you want per-user flags with shared folders? IIRC Courier used some weird symlink directory for that, which won't work with Dovecot. http://wiki2.dovecot.org/SharedMailboxes lists all the ways you can currently do shared folders with Dovecot.
On 30.6.2011, at 11.07, Tom Clark wrote:
I think I confused everyone by referring to them as shared folders (I was using the Courier phrasing).
I'm setting up Public Folders and then limiting access using ACLs. I can get that far as to creating them, I'm just wondering if there was a specific way to migrate from Courier's "public" folders to Dovecot's public folder system, or is it just a case of dropping the mail in?
They're regular maildirs, just use the migration script to them normally.
Am I right in thinking Dovecot doesn't have the "cur" and "new" folders on Public folders?
No. They're normal maildirs with cur/ and new/ directories.
Ok great.
Thanks for your help Timo.
Tom
-----Original Message----- From: Timo Sirainen [mailto:tss@iki.fi] Sent: 30 June 2011 9:09 AM To: Tom Clark Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Migrating shared folders from courier-imap to dovecot
On 30.6.2011, at 11.07, Tom Clark wrote:
I think I confused everyone by referring to them as shared folders (I was using the Courier phrasing).
I'm setting up Public Folders and then limiting access using ACLs. I can get that far as to creating them, I'm just wondering if there was a specific way to migrate from Courier's "public" folders to Dovecot's public folder system, or is it just a case of dropping the mail in?
They're regular maildirs, just use the migration script to them normally.
Am I right in thinking Dovecot doesn't have the "cur" and "new" folders on Public folders?
No. They're normal maildirs with cur/ and new/ directories.
participants (2)
-
Timo Sirainen
-
Tom Clark