Jan van den Berg
2007-Sep-24 11:29 UTC
[Dovecot] Mixed Courier POP3 and Dovecot IMAP environment
Hi, Currently we support Courier POP and IMAP for all our users (users can use IMAP as well as POP at the same time). We are thinking about moving to Dovecot; but first moving away from Courier IMAP to Dovecot IMAP (and maybe later also move to Dovecot POP). This would create a mixed environment; after some research I have the following questions. To not break POP3 Courier and still be able to use Dovecot IMAP: - I have to use the namespace prefix in the dovecot.conf file: I read this in the wiki. - "Patch" the source so Dovecot IMAP will look for/use 'courierimapuiddb' instead of 'dovecot-uidlist': otherwise I guess POP3 and IMAP users will have different UID files, right? Is this smart or will this still break the UID file? - "Patch" the source so Dovecot IMAP will look for/use 'courierimapsubscribed' instead of 'subscriptions' of should I just go with the renaming of the files? I'm thinking about patching so the transition can be as transparent as possible: Also if anything might go wrong in production I want to be able to switch back to the 'old' Courier IMAP (without renaming files etc.) Any thoughts on this? Cheers, Jan
> I'm thinking about patching so the transition can be as transparent as > possible: Also if anything might go wrong in production I want to be > able to switch back to the 'old' Courier IMAP (without renaming files > etc.) > > Any thoughts on thisI am going through the same process at the moment and I think the best solution is to start afresh I have setup a new Dovecot server with the proxy stuff enabled. I can then migrate accounts one at a time to the new machine and other users pointing at the new machine simply get proxied back to the old machine. Can't easily roll users back to the old machine, but it does mean that we can do limited testing and not need to do a big bang approach Ed W
Timo Sirainen
2007-Sep-30 12:08 UTC
[Dovecot] Mixed Courier POP3 and Dovecot IMAP environment
On Mon, 2007-09-24 at 13:29 +0200, Jan van den Berg wrote:> - "Patch" the source so Dovecot IMAP will look for/use > 'courierimapuiddb' instead of 'dovecot-uidlist': otherwise I guess POP3 > and IMAP users will have different UID files, right? Is this smart or > will this still break the UID file?Courier POP3 uses courierpop3uiddb (or something) file for POP3 UIDLs. Unless you're using a really old Courier version.> I'm thinking about patching so the transition can be as transparent as > possible: Also if anything might go wrong in production I want to be > able to switch back to the 'old' Courier IMAP (without renaming files > etc.)I guess then you want to rename dovecot-uidlist. Courier's keyword implementation is also different from Dovecot. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070930/dee83655/attachment-0002.bin>
Jan van den Berg
2007-Oct-01 08:04 UTC
[Dovecot] Mixed Courier POP3 and Dovecot IMAP environment
In the past we also patched Courier; so Im not sure about the naming what's right and what's not (I know for a fact what we use now: courierimapuiddb) But you get the idea, right :) We currently don't support (Courier) keywords; so if we decide to support/offer this we can start afresh with Dovecot. -----Oorspronkelijk bericht----- Van: Timo Sirainen [mailto:tss at iki.fi] Verzonden: zondag 30 september 2007 14:08 Aan: Jan van den Berg CC: dovecot at dovecot.org Onderwerp: Re: [Dovecot] Mixed Courier POP3 and Dovecot IMAP environment On Mon, 2007-09-24 at 13:29 +0200, Jan van den Berg wrote:> - "Patch" the source so Dovecot IMAP will look for/use > 'courierimapuiddb' instead of 'dovecot-uidlist': otherwise I guessPOP3> and IMAP users will have different UID files, right? Is this smart or > will this still break the UID file?Courier POP3 uses courierpop3uiddb (or something) file for POP3 UIDLs. Unless you're using a really old Courier version.> I'm thinking about patching so the transition can be as transparent as > possible: Also if anything might go wrong in production I want to be > able to switch back to the 'old' Courier IMAP (without renaming files > etc.)I guess then you want to rename dovecot-uidlist. Courier's keyword implementation is also different from Dovecot.