Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 19th July 2013, 15:14
xciso xciso is offline
Join Date: Feb 2008
Posts: 55
Thanks: 0
Thanked 1 Time in 1 Post
Default Move mail from one server to another. Help!

I have set up a new server and i want to move all the mail from the old server to the new.

I have done like this but it dosn't work:
scp -P 22 /var/vmail/my.domain/ xx.xx.xx.xx:/var/vmail/

When i then look in the folder i see many files that it have copy, but i cant show the in squirrelmail or with my local thunderbird.

In squirrelmail i get this error:
ERROR: Connection dropped by IMAP server.
Query: FETCH 3054:3056,3059,3064:3068,3070,3073:3074,3077:3079 (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)])

What have i do wrong?
I have set up a account in the new server with all alias and everything.

Please help! Now my mail is offline
Reply With Quote
Sponsored Links
Old 19th July 2013, 18:46
xciso xciso is offline
Join Date: Feb 2008
Posts: 55
Thanks: 0
Thanked 1 Time in 1 Post

I hope someone can help me soon.
The only thing i need to have from the old server is mail from /var/vmail/my.domain
Reply With Quote
Old 20th July 2013, 02:50
tahunasky tahunasky is offline
Join Date: Jul 2012
Location: Buenos Aires
Posts: 84
Thanks: 1
Thanked 9 Times in 9 Posts

Did you check the owner of the files.. should be vmail.

chown -R vmail:vmail /var/vmail

I use rsync to copy over emails as it keeps permissions/owership etc:

rsync -avz root@[OLD_SERVER_IP]:/var/vmail/ /var/vmail

Last edited by tahunasky; 20th July 2013 at 02:57.
Reply With Quote
The Following User Says Thank You to tahunasky For This Useful Post:
washkvartal (27th July 2013)


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending email issue lezelf Installation/Configuration 15 9th August 2011 12:20
installing squirrelmail on Debian with ispconfig3 saco721 Installation/Configuration 18 1st April 2011 18:57
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 17:27
just the last step...and it works. Postfix...need help config. ubuntusr Installation/Configuration 1 5th January 2009 10:50
Webmail Relay Error palkat General 17 23rd April 2006 19:12

All times are GMT +2. The time now is 12:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.