I need to transfer my stored email (kmail) on my Suse 8.0 machine to my new 9.3 box. What I have to traqnfer with is a DVD-RAM drive/media. How do I do this without wiping out my new mail, keeping indices intact, etc. -- John R. Sowden AMERICAN SENTRY SYSTEMS, INC. Residential & Commercial Alarm Service UL Listed Central Station Serving the San Francisco Bay Area Since 1967 mail@americansentry.net www.americansentry.net
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2005-06-28 at 20:48 -0700, John R. Sowden wrote:
I need to transfer my stored email (kmail) on my Suse 8.0 machine to my new 9.3 box. What I have to traqnfer with is a DVD-RAM drive/media. How do I do this without wiping out my new mail, keeping indices intact, etc.
Find out which are the mailboxes, in what format they are (mbox o maildir), and copy them over, possibly to a subfolder. Piece of cake :-) Can't give exact details, I'd need to know the tree structure, and try it myself. But I have done it more than once. Make a backup if unsure. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFCxAKrtTMYHG2NR9URAvquAJ4lFkAeykoQu6g/LsqpKmtil8YeAwCfTAND eK3+AEFytGVfvj7kb7jzzh0= =H7eT -----END PGP SIGNATURE-----
On Wednesday 29 June 2005 05:48, John R. Sowden wrote:
I need to transfer my stored email (kmail) on my Suse 8.0 machine to my new 9.3 box. What I have to traqnfer with is a DVD-RAM drive/media. How do I do this without wiping out my new mail, keeping indices intact, etc.
Use tar to archive ~/Mail The indices and sub-directories are hidden in that directory along with your mail. You may want to save ~/.kde/share/config/kmailrc as well. Hope this helps. -- Robert "roach" Spencer Pietermaritzburg South Africa
Just make sure you don't restore them to the original location (which will be the same on the 9.3 Box) then use Kmail's import ability to import them into the existing file structure. ----- Original Message ----- From: roach To: suse-linux-e@suse.com Sent: Friday, July 01, 2005 2:01 PM Subject: Re: [SLE] Transfer mail via disk On Wednesday 29 June 2005 05:48, John R. Sowden wrote:
I need to transfer my stored email (kmail) on my Suse 8.0 machine to my new 9.3 box. ?What I have to traqnfer with is a DVD-RAM drive/media. ?How do I do this without wiping out my new mail, keeping indices intact, etc.
Use tar to archive ~/Mail The indices and sub-directories are hidden in that directory along with your mail. You may want to save ~/.kde/share/config/kmailrc as well. Hope this helps. -- Robert "roach" Spencer Pietermaritzburg South Africa -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Friday 01 July 2005 14:57, Andre Venter wrote:
Just make sure you don't restore them to the original location (which will be the same on the 9.3 Box) then use Kmail's import ability to import them into the existing file structure. This is interesting; would you please expand?
In the past, whenever I have upgraded Suse from one version to another (ie a clean instal of the new version) I have been able to save my /home/myname/Mail file to a floppy and then simply insert it into the new OS and after correcting the ownership everything worked fine. That is until 9.3 when I lost most of my mail folders - some transferred, some didn't. I tried importing but the import menu allows you to import from evolution and other MTAs but not a previous version of Kmail. Could you please suggest a blow by blow howto? Moving e-mail safely from one version to another is important to me. Many thanks. Gervase Chavasse
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2005-07-02 at 11:57 +0100, Gervase Chavasse wrote:
I tried importing but the import menu allows you to import from evolution and other MTAs but not a previous version of Kmail. Could you please suggest a blow by blow howto? Moving e-mail safely from one version to another is important to me. Many thanks.
If the folder is mbox type, it is prety simple: just copy over the mbox file, with cp, to where Kmail can see it. No need to "import". I have dozens of folders, inherited from suse 5.3, 6.x, 7,x, 8.x, 9.1 and finally, to 9.3. All seen. I simply tell kmail my folders are in ~/Mail/, and start using them. I have never used "import". - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFCxoHJtTMYHG2NR9URAj9uAJ9ehnrsuoyEN3PG9R3gqeCU0n7hXwCdHaRj KmRcJjHJw6ejm64i0dcmIS4= =8CoL -----END PGP SIGNATURE-----
On Saturday 02 July 2005 13:00, Carlos E. R. wrote:
The Saturday 2005-07-02 at 11:57 +0100, Gervase Chavasse wrote:
I tried importing but the import menu allows you to import from evolution and other MTAs but not a previous version of Kmail. Could you please suggest a blow by blow howto? Moving e-mail safely from one version to another is important to me. Many thanks.
If the folder is mbox type, it is prety simple: just copy over the mbox file, with cp, to where Kmail can see it. No need to "import".
As I see it, mail is by default in maildir format.
I have dozens of folders, inherited from suse 5.3, 6.x, 7,x, 8.x, 9.1 and finally, to 9.3. All seen.
I managed to copy some of my folders back from 9.2 via a Zip drive but the inbox folder seemed to behave differently. I have copied it into both /home/myname/Mail and /home/myname/.kde.share/apps/mail but Kmail fails to read them. I have of course checked the possessions.
I simply tell kmail my folders are in ~/Mail/, and start using them. How do I do that? Thanks again Gervase Chavasse
On Saturday 02 July 2005 20:40, Gervase Chavasse wrote: <...>
I managed to copy some of my folders back from 9.2 via a Zip drive but the inbox folder seemed to behave differently. I have copied it into both /home/myname/Mail and /home/myname/.kde.share/apps/mail but Kmail fails to read them. I have of course checked the possessions.
help:/kmail/faq.html#id2529326 "How can I use mail folders that are not in ~/Mail/?" You can't just randomly move mail around that's in maildir format. You have to move everything including the hidden indices. As for /home/myname/.kde.share/apps/mail, I think you meant /home/myname/.kde/share/apps/kmail. Why do you think you can put mail in there? That folder is for the lock file, custom icons and some notes kmail makes for it's self. You also don't need to specify ~/Mail/ on Suse. That is the default. -- Robert "roach" Spencer Pietermaritzburg South Africa
On Saturday 02 July 2005 23:15, roach wrote:
As for /home/myname/.kde.share/apps/mail, I think you meant /home/myname/.kde/share/apps/kmail. Why do you think you can put mail in there? That folder is for the lock file, custom icons and some notes kmail makes for it's self.
No. As of SUSE 9.3/KDE 3.4, $HOME/.kde/share/apps/kmail/mail/ is the default location for your mail storage in kmail
On Saturday 02 July 2005 22:42, Anders Johansson wrote:
On Saturday 02 July 2005 23:15, roach wrote:
As for /home/myname/.kde.share/apps/mail, I think you meant /home/myname/.kde/share/apps/kmail. Why do you think you can put mail in there? That folder is for the lock file, custom icons and some notes kmail makes for it's self.
No. As of SUSE 9.3/KDE 3.4, $HOME/.kde/share/apps/kmail/mail/ is the default location for your mail storage in kmail Yes, you have put your finger on the root of the problem. The upgrade from 9.2 to 9.3 was different from previous upgrades for this reason.
I think I have cracked it now. I should have realised that because Kmail automatically creates inbox and sent mail folders on installation you have to treat those differently from folders you have created yourself. I have now renamed my old, 9.2, inbox mail folder to inboxold, moved it from my zip drive to /home/myname/.kde/share/apps/kmail/mail and, after adjusting the possessions, all is OK. Thanks to all who helped. What a hassle! Wouldn't it be nice if the kmail people could include within kmail a simple export/import to/from disk facility? Gervase Chavasse
On Saturday 02 July 2005 23:42, Anders Johansson wrote:
No. As of SUSE 9.3/KDE 3.4, $HOME/.kde/share/apps/kmail/mail/ is the default location for your mail storage in kmail
Huh? ~/.Mail ~/.mail ~/Mail ~/.kde/share/apps/kmail/mail/ What's with the bouncing mailbox? Why can't they just leave it in one place? Thank's for pointing this out. I'm glad, though, that I'm moving all my users over to IMAP. I have too many different mail clients with conflicting requirement, but they all accept IMAP. This is just one more reason to change. -- Robert "roach" Spencer Pietermaritzburg South Africa
El Sábado, 2 de Julio de 2005 20:40, Gervase Chavasse escribió: This email I write in KMail, for a change - from inside gnome, thus gpg will not work. But it demonstrates that you can use several MUAs with the same setup of folders.
If the folder is mbox type, it is prety simple: just copy over the mbox file, with cp, to where Kmail can see it. No need to "import".
As I see it, mail is by default in maildir format.
Yes, true, I forgot. I changed that default to mbox in my setup for my own reasons.
I have dozens of folders, inherited from suse 5.3, 6.x, 7,x, 8.x, 9.1 and finally, to 9.3. All seen.
I managed to copy some of my folders back from 9.2 via a Zip drive but the inbox folder seemed to behave differently. I have copied it into both /home/myname/Mail and /home/myname/.kde.share/apps/mail but Kmail fails to read them. I have of course checked the possessions.
The inbox folder is special, you define it in Preferences (I'm translating on the fly, my KMail is in Spanish), Accounts, receiving, incoming account; chose the local account, modify, location of the archive (mine is '/home/cer/mbox', I don't recommend changing whatever you have if it works).
I simply tell kmail my folders are in ~/Mail/, and start using them.
How do I do that?
I did that long time ago, so I had to look it up. I don't install fresh, but update, so I inherited my setup. One advantage over fresh install ;-) The location of the "local folders" and everything below can be modified as explained in Kmail help, FAQ chapter. In mine, it is question 6.14. (¿Puedo configurar la ubicación de mi carpeta de correo?). Yours will be different. I can't change the kde language now to check, I'm using gnome right now. Basically, it involves editing '/.kde/share/config/kmailrc', variable: [General] folders=/home/username/.mail mine has: folders=$HOME/Mail which I think was the default time ago. Warning: the help file warns that you will loose your filters if you forget to move your folders after changing that. By the way, most of your questions are answered in that FAQ. I can see a good deal of work has been done in KMail: the help file is translated to Spanish, including the FAQ. That's a good thing ;-) A little investigation with mc (Midnight Commander) shows that if you want to move/copy mailfolders in maildir format, it means moving/copying two subdirectory, complete with hidden files: /entrada_maildir (folder) /cur /new /tmp .uidvalidity .entrada_maildir.index (indexes) .entrada_maildir.index.ids .entrada_maildir.index.sorted /.entrada_maildir.directory (subfolder holder) /subentrada /cur /new /tmp .subentrada.index .subentrada.index.ids I hope this structure I show above helps you to find out what you have to move/copy. There might be more folders/files, I only have one in maildir format for testing purposes. -- Cheers, Carlos Robinson
Gervase Chavasse wrote:
On Friday 01 July 2005 14:57, Andre Venter wrote:
Just make sure you don't restore them to the original location (which will be the same on the 9.3 Box) then use Kmail's import ability to import them into the existing file structure. This is interesting; would you please expand?
In the past, whenever I have upgraded Suse from one version to another (ie a clean instal of the new version) I have been able to save my /home/myname/Mail file to a floppy and then simply insert it into the new OS and after correcting the ownership everything worked fine. That is until 9.3 when I lost most of my mail folders - some transferred, some didn't.
I tried importing but the import menu allows you to import from evolution and other MTAs but not a previous version of Kmail. Could you please suggest a blow by blow howto? Moving e-mail safely from one version to another is important to me. Many thanks.
This demonstrates the advantage of having a separate partition for /home.
participants (7)
-
Anders Johansson
-
Andre Venter
-
Carlos E. R.
-
Gervase Chavasse
-
James Knott
-
John R. Sowden
-
roach