Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: SSBN on July 03, 2003, 04:58:00 PM

Title: move email from one server to another
Post by: SSBN on July 03, 2003, 04:58:00 PM
I am trying to move email from one server to another. For reasons I won’t get into I can’t just back up my old server with server manager and restore on my new. On my new server I recreated all users’ web pages and i-bays. I now want to use winscp3 to move the mail dir from the old computer to the new. I did this but the mail dos not show up in the new server. I copied everything from home/e-smith/files/users/**username**/. But when I log in under the user in my new server I can’t se it. Any ideas.
Title: Re: move email from one server to another
Post by: TrevorB on July 04, 2003, 07:06:00 AM
If you copy the mail into the new directory (rather than the cur)  it should get picked up the next time you look at it.

Trevor B

SSBN wrote:
>
> I am trying to move email from one server to another. For
> reasons I won’t get into I can’t just back up my old server
> with server manager and restore on my new. On my new server I
> recreated all users’ web pages and i-bays. I now want to use
> winscp3 to move the mail dir from the old computer to the
> new. I did this but the mail dos not show up in the new
> server. I copied everything from
> home/e-smith/files/users/**username**/. But when I log in
> under the user in my new server I can’t se it. Any ideas.
Title: Re: move email from one server to another
Post by: SSBN on July 04, 2003, 06:19:40 PM
I moved a few over and i can se that the email is there in my in box. But no content or even the name of who sent it or email is there. Just an empty email shows up.
Title: Re: move email from one server to another
Post by: Greg Zartman on July 04, 2003, 07:41:39 PM
Just in case you haven't done so yet, be sure to reset the ownership of the messages the the user in question.  When you copy email from one folder to another, the ownership is usually set to root:root which can prevent you from accessing from a mail client.

Regards,

Greg Zartman
Title: Re: move email from one server to another
Post by: SSBN on July 04, 2003, 09:15:58 PM
How do i  reset the ownership. Sorry a bit new to Linux.
Title: Re: move email from one server to another
Post by: Greg Zartman on July 04, 2003, 09:20:12 PM
> How do i  reset the ownership. Sorry a bit new to Linux.

1. Log into you machine as root,
2. Issue command:  cd /home/e-smith/files/users/
3. Issue command: chown -R user:user user

Replace user with username in question.

Greg