LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-30-2005, 01:17 PM   #1
rosco136
Member
 
Registered: Apr 2005
Location: England
Distribution: openSUSE 11.0, 11.1
Posts: 49

Rep: Reputation: 15
copy emails from suse 9.3 to suse 10.0


I have been running SuSE 9.3 for some time and use Kmail as my mail client.

I fitted a new HDD on the same computer and installed SuSE 10.
Is there any way of copying the Kmail email structure from the 9.3 installation to the 10 installation?

I have no problems with adding the SuSE 9.3 HDD as a secondary drive and mounting it.
Any help will be much appreciated.
 
Old 10-31-2005, 02:39 AM   #2
badbunny
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Kubuntu Gutsy
Posts: 95

Rep: Reputation: 15
I think kmail stores the emails to /home/yourusername/.kde/share/apps/kmail/mail by default. I\d try just copying the contents of that folder to the corresponding folder on your 10.0 disk.
 
Old 10-31-2005, 06:48 AM   #3
dth1
Member
 
Registered: Oct 2004
Location: Stoney Stanton - England
Distribution: openSuse tumbleweed
Posts: 329

Rep: Reputation: 33
You need to do two things here.

First is to copy the files:-

emailidenties

kmailrc

Theres are hidden files in your home folder - so you need to select the 'show hidden files' option first. The files contain your email account details and settings and are under the config folder in .kde.

Then you need to copy the email folders under Mail in your home directory. Put all this on a cdr (good to have a back-up anyway).

Then copy back the two files to your new hard drive and then copy the email folders to your new mail folder. Once done - click on the mail folders property button and add a tick in box about changing the ownership of sub-folders.

Then start kmail and it should all be there!

If you have any problems post back.
 
Old 10-31-2005, 04:46 PM   #4
rosco136
Member
 
Registered: Apr 2005
Location: England
Distribution: openSUSE 11.0, 11.1
Posts: 49

Original Poster
Rep: Reputation: 15
Nearly worked once!

I got a message that came and went pretty quickly but I got the gist of it.
Seems kmailrc could not be written. Is this that wonderful problem with data copied from CD is read only? Certainly the attributes only had r's, so I added w's. Maybe this was the wrong thing to do.

Anyway, it's no worse than it was, I still have no email setup! But everything else seems to work the same and I still have my SuSE 9.3 HDD to put back on to receive email.

Is there something I needto do via the Konsole?
 
Old 10-31-2005, 05:33 PM   #5
rosco136
Member
 
Registered: Apr 2005
Location: England
Distribution: openSUSE 11.0, 11.1
Posts: 49

Original Poster
Rep: Reputation: 15
OK, so I took another look at the 9.3 HDD and found the mail folder not in the home directory, but in home/username/.kde/share/apps/kmail/mail

I also noted the attributes of the files that were to be copied.
Then went back to the 10.0 HDD and moved the mail directory to where it should have been.
Recopied the other two files and reset their attributes to those of the 9.3 installation. Also set the sub-foders checkbox for the mail directory.

Now when I run Kmail I do get the SuSE 9.3 Inbox, but none of the others. The mail directory does contain the mailbox structure.

Any ideas?
 
Old 11-01-2005, 01:28 AM   #6
rosco136
Member
 
Registered: Apr 2005
Location: England
Distribution: openSUSE 11.0, 11.1
Posts: 49

Original Poster
Rep: Reputation: 15
Found the problem but haven't fixed it yet.

My directories under mail directory, other than kmail standard directories, are set to root permissions even though I set the check box in properties, permissions to set the ownership of sub-folders.

So when I go back with File Manager - Super User Mode to change the permissions, again ticking that check box, the sub folders remain firmly the property of root.
However, if I go to each sub folder in turn I can set the permissions OK. Tedious or what?

Is there something else that needs to be done to make that check box work? I seem to think that this can all be done with console commands, but don't know how - yet.

I have done about half the mailbox directories and these now show up in kmail.

Some more help would be appreciated.
 
  


Reply



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
(Sendmail) Forwarding emails and leaving a copy on the server javiergt Linux - Software 2 03-14-2005 08:02 AM
I have problems to send emails out with Suse 9.1 Pro balki Linux - Software 0 09-24-2004 03:02 AM
emails deleted on suse 9.0 jackg Linux - Software 1 07-19-2004 08:33 PM
Suse 9.0 and emails deleted jackg Linux - Networking 0 06-26-2004 04:13 AM
ximian evolution - copy of sent emails in trash? anura Linux - Software 0 03-21-2004 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:29 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