SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.