LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Someone plz help with a Mail Server Migration~! (https://www.linuxquestions.org/questions/linux-server-73/someone-plz-help-with-a-mail-server-migration%7E-527729/)

combilli 02-12-2007 02:38 AM

Someone plz help with a Mail Server Migration~!
 
Here I'm planning going to migrate from an old mail server to new mail server.

The big problem is how can I copy old mailboxs to new servers with correct permission?

Should I just copy all folders in home and change permission 1 by 1?

Cuz there are like 90 users folder with about 15GB datas.


I don't want to move the old server's harddisk out because they want to keep the old server runing until the new server is completely ready.

Is there any suggestion?

MS3FGX 02-12-2007 02:40 AM

I'm not sure I understand the problem. Why do the permissions have to be changed in the first place? I assume you are going to be using the same usernames on the new server.

combilli 02-12-2007 03:38 AM

Yea... in my lab testing, I use mc to copy files.

The permission for folders are copied, but the owner of the folders are not owner's name, instead of user id , there shows owner and groups are user id of old server.

So the main problem is if I create same username, the user id will not be same as old server.

I think I could just copy the passwd file the new server, but I'm afraid that could damage some softwares or resulting bad effect.

Any ideas for that?

MS3FGX 02-12-2007 11:46 AM

There should be no problems copying over the account/password files over to the new machine. You could even just cut the user accounts out of the old file, and append that to the file on the new server; so that the system accounts will not be changed, only the users.

Then just copy the mailboxes, and the permissions should still work.

reddazz 02-12-2007 11:53 AM

Moved: This thread is more suitable in Linux Server and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 02:55 AM.