ImapCopy Installation




Step 1

wget http://linux.alanstudio.hk/pub/imapcopy.tar.gz
tar -zxvf imapcopy.tar.gz

Download and uncompress.

cd imapcopy vi ImapCopy.cfg ############## # Sourceserver ############## SourceServer 123.123.123.123 SourcePort 143 ################### # Destinationserver ################### DestServer localhost DestPort 143 ############################# # List of users and passwords ############################# # SourceUser SourcePassword DestinationUser DestinationPassword Copy "foo" "foosrcpw" "foo" "foodestpw" Copy "bar" "barsrcpw" "bar" "test"

Edit the config file, source (server ip,port,user,password) and destination (server ip,port,user,password)

/root/imapcopy/imapcopy -t

Test the program login first.

/root/imapcopy/imapcopy

If test is [OK] , run the program to copy all imap emails.

P.S. Remember, your destination user's Maildir should be clear to blank first.


Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.