Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: cyberlair on April 03, 2006, 04:03:52 PM
-
Hi Guys
How do you transfer emails from one server to another server?
I tried copying /home/e-smith/files/users/username/Maildir/cur with cp -p * /root/mailbackup and it copies. Then I mounted a share on the other server and tried to copy the folder over and I get permission denied or something copying the file rights? I want to import these emails into my account on the other server.
Is there a way to do this?
Thanks
-
I would do it something like this...
scp -r /home/e-smith/files/users/username/Maildir/cur <your-server-ip>:/root/mailbkup
then once over move the mail in mailbkup to the relevant user name and make sure that all permissions and owner are set correctly i.e using chmod and chown
HTH
-
I've had good success using IMAPCopy http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html They have a linux and win32 version. Just create a cfg file listing the source server, destination server and the username/passwords of the accounts you would like to copy from/to.
Regards Lloyd
-
That worked perfectly!!! Thanks very much for your help.
-
I was able to import my webmail inbox from directory cur. How to I import my sent items which is in a folder called ;sent-items/cur. I cannot cd in ;sent-items? How do I do that???
Thanks
-
Try:
cd ';sent-items'/
Michael
-
Thanks allot that worked!
cd ';sent-mail'/
-
Hey my friends, need someone to point me in the right direction about this one....
I Have a cpl of accounts that manage their emails via the webmail on SME 5.6.
We went throw an upgrade to 7.0 and some manuall restoring regarding ebays, users, etc.-
Here's the issue:
I move /home/e-smith/files/users/username to the new box.
Change permision for user:user for Maildir and Mail directory.
When logging in to webmail as the user i see the emails but with "Invalid Addres" and "No Subject".
Something regarding permission maybe?
clues will be welcome...
Cheers!
-
sebastian_sw
See answer in your other post
chown -R user:user Maildir
Please do not double post on the same topic.
-
I just tried imapcopy and it worked flawlessly - 4655 messages into 30 folders. And fast too! working between a 6.0.1 and a 7rc2 server on my lan.
-
I have restored a mailbox from tape into /root/RESTORE. All the messages are there and they look like this :
1158180158.8901.computerwise:2,
1156945916.2004.computerwise:2,S 1158187716.12332.computerwise:2,S
1158249757.9103.computerwise
I am trying to copy the emails from the cur folder in the /root/RESTORE folder of a user to the working cur mail dir.
scp -r * /home/e-smith/files/users/username/Maildir/cur
The only ones that get copied are ones that look like this 1158249757.9103.computerwise
I get this error copying the others.
ssh: 1157643242.28616.computerwise: Name or service not known
How do I copy these emails?
Thanks
-
I beleive I resolved it by copying the files using cp -p *. Would still like to know why scp would not copy the files?