Ever so often there seems to questions on how to copy an existing
profile/emails/etc over to a new machine. I tend to forget how I do this
until it is necessary to do it again. So before I forget, here is how I
do it. This assumes only one user profile, so you'll need to modify
accordingly for additional profiles:

1. Install SeaMonkey on the target machine. Run once to ensure it works,
but don't create any mail profiles etc. Now rename the .mozilla folder
to x-.mozilla-x - you won't need it any longer, but it's always nice to
rename rather than delete, just in case.

2. Copy the .mozilla folder (everything) on the source machine to a safe
temp directory. Tar the folder to compress it for copying.

3. Copy the tar'ed .mozilla folder over to the target machine and
extract it to the home folder. You now have a replacement .mozilla
folder were the renamed x-.mozilla-x folder once was.

On the target machine:

4. Change the ownership of the .mozilla folder to the new machines user
and group:

sudo chown -R : ~/.mozilla

5. Make these necessary changes:

- in /home//.mozilla/ rename appreg to x-appreg-x
- in /home//.mozilla/default/.slt:
o delete history.dat
o use an editor to open prefs.js and do a mass replace of
/home//.mozilla to /home//.mozilla
Note: do not change the .slt information in the file.
Save the file.
o do the same to the install.log file
o do the same to the chrome.rdf file in

6. Start SeaMonkey. It will take awhile to start up as SM will rebuild
the appreg file - this is the file that SM uses to determine which
profiles are in the .mozilla folder. Use your default profile & off you go.