export contacts in squirrelmail

rszkutak

Verified User
Joined
Dec 22, 2003
Messages
173
Location
Scottsdale, AZ & Clam Gulch, AK
does anyone know a way to export a users contacts that they have in squirrelmail? We have an old server we deadlined, and a user wants their contacts in the new server from the old one.

thanks,
Rob
 
Rob, have you checked to see if squirrelmail saves and restores those when you move a backup and do a restore on aother server?

Jeff
 
Jeff,
Thanks for the input, actually we pretty much preformed a backup - restore when we were bringing our new server up and online, so i guess it's not an option to do it that way.

I will have to look around and see what i can see for settings, i got a feeling i might need to look in the squirrelmail forums for that answer.

Rob
 
Be sure to let us know what you find; we can get the proper stuff added to the backup.

Jeff
 
Jeff,
I found that Squirrelmail uses the address book in the following scheme located within thier directory. If you have multiple installs of SQmail is causes a problem.

As shown below is an example of where the files are located at.

/var/www/html/nutsmail/data/[email protected]


You can see that it's a pretty easy format to get from one to the other, however my question is how would i "zip" them all up, then copy them to the new server and "unzip" them if you will ?

Thoughts ?

Rob
 
On the old server:
Code:
# cd /var/www/html/nutsmail/
# tar -czvf nutsmail-data.tar.gz data/
Then move the resulting tarball to the new machine:
Code:
# mv nutsmail-data.tar.gz /var/www/html/nutsmail/
# cd /var/www/html/nutsmail/
# tar -xzvf nutsmail-data.tar.gz
That should do it.

Jeff
 
FYI, They are included in the backups and restore using the standard DA backup system. (Site Backup, Manage User Backups and Admin Level Backups/Transfers). Included is the abook, prefs and sig files for each account.

John
 
Back
Top