LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2004, 08:38 PM   #1
rharvey@cox
Member
 
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Rep: Reputation: 15
Moving Mozilla mail folders between machines


I'm having a great deal of difficulty moving my mozilla mail data (mailbox, subdirectories and their contents) from Mozilla 1.3 on one (linux) machine to Mozilla 1.4 on another (linux,also). I can get the mailbox and subdirectory structure moved, but the contents get lost. Has anyone seen/solved this problem?

Thanks.
 
Old 02-11-2004, 12:43 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
By 'contents lost' do you mean that the mail data didn't get copied?

Check also that you have copied everything you need (including hidden files - preceded by a dot) and that you haven't changed any of the file permissions.
 
Old 02-11-2004, 03:16 AM   #3
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
I had the same problem - but I cheated and just did a chmod -R 700 /home/ammullan/.mozilla/default/69lz4rny.slt/pop3.server.co.nz

Works fine cos it seems to be a diectory access problem (can't remember what permission is needed to access a directory so 700 worked for me)...
 
Old 02-11-2004, 08:56 PM   #4
jeempc
Member
 
Registered: Mar 2003
Location: Ann Arbor, MI
Distribution: Slackware 10.1
Posts: 119

Rep: Reputation: 15
I'm wondering if you tried taring the whole .mozilla directory then untarring it on the new machine.

From your home directory type the following:
tar -cf moz.tar .mozilla/*

This will create one file with all your mozilla settings.

Make sure you created a user account on the new machine with the same name on the new computer.
Then connect to your new machine with an ftp program. I use sftp:
sftp <newmachine_name_or_ip_address>
Enter password:

Then type:
ftp> put moz.tar

Then type:
quit

On the new machine install mozilla, open up a browser then close it .
then type:
mv .mozilla .mozilla.default

then type:
tar xvf moz.tar

This should leave you with a .mozilla directory with all the same data/settings as the old machine.

I haven't tried this yet but am planning on doing it soon.
The worst that can happen is wiping out default mozilla settings. If it dosen't work just type:
rm -rf .mozilla
mv .mozilla.default .mozilla

Good Luck,
Jeem
 
Old 02-12-2004, 07:33 AM   #5
rharvey@cox
Member
 
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
I've had no luck getting things to work properly. My mail folders transfer but the individual emails to not. Copying the .mozilla directory from one machine to another definitely does not work for me. The files I have transferred are:

/home/user/.mozilla/*.slt/Mail/"pop.cox-internet.com/"

which is an individual mail acount under /*.slt/Mail/. Yours will vary. It supposedly has all the user-specific info for a given mail account comprised of your folder structure and the saved e-mails in each folder.

The *.slt directory appears to be unique for each installation of Mozilla. So copying the entire .mozilla directory and subs blows everything up.

The abook.mab file in the *.slt directory is supposedly the collected e-mail address file has not been readable from one machine to another

The bookmarks.html file in the *.slt directory which contains your customized bookmarks for the browser, does transfer successfully.

I hope we can get this figured out. It seems really weird that Mozilla.org hasn't a way to easily transfer your data from one installation to another.
 
Old 02-12-2004, 11:29 AM   #6
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Have you had a look at the permissions on the files in question? (ie: are you the owner and group member of the files?)
 
Old 02-13-2004, 09:56 AM   #7
rharvey@cox
Member
 
Registered: Aug 2003
Location: Victoria, Texas
Distribution: Gentoo
Posts: 63

Original Poster
Rep: Reputation: 15
Yes, done that. But maybe we should back up a bit. To have a successful transfer of my Mozilla settings from one computer to another (including browser bookmarks, mail address books (plural), mail folders (and their contents)) what files do I need to transfer? I've been trying to transfer the the data with these files:

/home/user/.mozilla/.slt/Mail/mail_account_directory

/home/user/.mozilla/.slt/bookmarks.html

/home/user/.mozilla/.slt/abook.mab

/home/user/.mozilla/.slt/history.mab

When I try to open the email client I get this message:

One of your address book files, history.mab could not be read it will be copied to a backup file and a new history.mab will be created.

I've checked the permissions and user names and they are the same on both machines so I must be missing some critical files in the transfer, but what are they?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Folders moving themselves between drives tmoorman Mandriva 1 07-12-2005 02:43 PM
Virtually moving IMAP Folders from mail/ to root level fishsponge Linux - Software 0 06-21-2005 04:53 AM
Moving Mozilla mail from Windows to Linux jasonfarbman Linux - Software 2 01-14-2004 12:37 PM
moving folders Vyker Slackware 4 09-04-2003 07:42 AM
importing mutt mail folders to Mozilla/Thunderbird dhertz Linux - Software 1 08-12-2003 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration