Courier to Exim migration?

wattie

Verified User
Joined
May 31, 2008
Messages
948
Location
Bulgaria
A friend of mine have a server (custom installation, no control panel). The MTA is Courier there. We are thinking to start a migration to DirectAdmin, which of course uses Exim.

I never worked with Courier before. Do you know if it is using the same hash for storing the passwords? I wish to try to migrate the e-mail accounts fluently (without asking the customers to reconfigure settings)... If somebody with experience in such migrations can give some clues, I will be very happy.

P.S. The Exim passwords are stored at /etc/virtual/domain.dom/passwd right?
 
Last edited:
You have a few things you need to figure out first, if you don't want to change anything on the user/login side then you need to make sure that your DA box doesn't already use any of the existing usernames, if they do then the username that already exists will conflict with the migrated one. The cleanest way is to just create a script that will merge the /etc/passwd and /etc/shadow (assuming that is what they were using) to create the /etc/virtual/$domain/passwd file, then populate the /home/$DAUSER/imap/$domain/$user/Maildir folders from their /home/$user/Maildir folders on the old system.

I haven't done this migration, but I did do a typical install of courier to dovecot migration and that was pretty easy. Since this needs to conform to DA it adds a few wrinkles.
 
Back
Top