[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 this
I 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
For now, I've 'hacked'/edited the Dovecot source and everything seems to work OK for me. It makes switching back possible however; I will then need to edit the courierimapsubscribed file (INBOX.etc). Because Dovecot handles this namespace correctly and Courier doesn't.
But using a proxy can be of help too; could you give some pointers/url on how to set up this proxy?
Jan -----Oorspronkelijk bericht----- Van: Ed W [mailto:lists@wildgooses.com] Verzonden: vrijdag 28 september 2007 14:06 Aan: Jan van den Berg CC: dovecot@dovecot.org Onderwerp: Re: [Dovecot] Mixed Courier POP3 and Dovecot IMAP environment
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
I 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
On Mon, 2007-09-24 at 13:29 +0200, Jan van den Berg wrote:
'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
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.
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@iki.fi] Verzonden: zondag 30 september 2007 14:08 Aan: Jan van den Berg CC: dovecot@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:
'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
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.
participants (3)
-
Ed W
-
Jan van den Berg
-
Timo Sirainen