[Dovecot] migrating from Courier
I've been running postfix/courier-ssl/MySQL/postfixadmin for years, but since I am in the process of building a new server I decide to reexamine my options. I'm sticking with postfix, but I've decided to move from courier to dovecot because everyone is telling me it's much faster, and I really dislike courier's SASL setup and integration with other services.
Of course, I have dozens (but not hundreds) of gigabytes of Courier Maildirs for all the users.
Most of the users are in MySQL virtual domains and their mail is stored in a common directory (/usr/local/virtual) and owned by a single system user (vpopmail). I've even hacked together a postfix service to run procmail for the virtual users, though my intention of creating a webface allowing them to muck up their own .procmailrcs never came to fruition.
I'm doing my user migration in two steps. First, I will rsync all the mail (and all the user webfiles) to the new server, do any setup/conversion/&c to the data on the new server and make sure everything is working and that passwords are preserved.
Then, right before the server goes live I will shutdown mail on the old machine, rsync any new mail (hopefully no more than a couple of hours worth) over, do any conversion, and then fire up the new server.
what do I need to do to convert or prepare the courier maildirs for dovecot?
is the current setup of virtual users reasonable for dovecot? 2.1) Is there a better option than postfixadmin?
some of my users are not in MySQL, but are real system users. Is this going to confuse dovecot (it confuses courier no end). These system users are still using courier and courier maildirs.
would it be better to take the server live and THEN move/convert the old mail?
anything else obvious that I didn't mention or ask that I should have?
The most important thing, of course, is to not lose anyone's email.
-- "Two years from now, spam will be solved," -- Bill Gates, January, 2004
LuKreme wrote:
- what do I need to do to convert or prepare the courier maildirs for dovecot?
See here : http://wiki.dovecot.org/Migration
- is the current setup of virtual users reasonable for dovecot? 2.1) Is there a better option than postfixadmin?
I'm happily using Dovecot + Postfixadmin since years, and Postfixadmin is only getting better.
But apparently the ISPwebAdmin is more flexible, http://workaround.org/ispmail/lenny/manage-email-accounts but I haven't really tried that one.
Regards, Adrian
On Sun, 2009-11-22 at 15:00 +0100, aja-lists wrote:
But apparently the ISPwebAdmin is more flexible, http://workaround.org/ispmail/lenny/manage-email-accounts but I haven't really tried that one.
In my "private hobbyist email world" where I cant use our corporate portal software :( I use something that is based on that to allow the few domains of friends to be managed by them, but altered to do many more things (inc sql quotas, (in)active status, cascade with GRS user, etc) and slightly more efficient modified GRS (prevent adding of users/aliases to users/aliases that already exist and cleanup virtuals when they are deleted and a few other goodies).
I also didn't think must of postfixadmin when I looked at it.
I made easy changes to the main article because we don't use debian, it's a very good starting point and is so easily adjusted to those who use Slackware, CentOS, or any *nix version.
-- Kind Regards, SSA Noel Butler L.C.P No. 251002
This Email, including any attachments, may contain legally privileged information, therefore remains confidential and subject to copyright protected under international law. You may not disseminate or reveal any part to anyone without the authors express written authority to do so. If you are not the intended recipient, please notify the sender and delete all relevance of this message including any attachments, immediately. Confidentiality, copyright, and legal privilege are not waived or lost by reason of the mistaken delivery of this message. Only PDF and ODF documents are accepted, do not send Microsoft proprietary formatted documents.
participants (4)
-
aja-lists
-
Charles Marcus
-
LuKreme
-
Noel Butler