LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-12-2007, 02:38 AM   #1
combilli
Member
 
Registered: Oct 2006
Posts: 75

Rep: Reputation: 15
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?
 
Old 02-12-2007, 02:40 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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.
 
Old 02-12-2007, 03:38 AM   #3
combilli
Member
 
Registered: Oct 2006
Posts: 75

Original Poster
Rep: Reputation: 15
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?
 
Old 02-12-2007, 11:46 AM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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.
 
Old 02-12-2007, 11:53 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server Migration dapeng4001 Linux - Software 1 11-30-2005 09:47 AM
Mail Server Migration dapeng4001 Linux - Networking 0 11-29-2005 08:40 AM
Keeping user passwords in mail-server migration TRx Linux - Software 4 10-06-2005 10:05 AM
mail server plz help oops10 Linux - Networking 21 06-16-2005 09:07 AM
mail server migration syl20 Linux - Software 1 12-06-2004 11:06 AM


All times are GMT -5. The time now is 11:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration