[opensuse] Best way to copy mail (kmail)
Hi all, This is a basic question, but what is the best way to copy my email files from one install (9.3) to my new install (10.2). Same machine. Old install is mounted as same user name mounted at "data1". I have not used kmail on the new install yet, but did open kmail once, have not set up users. I see may old mail in /data1/home/user/.kde/share/apps/kmail/mail. I see the same folder in the new install, with only a few sub-folders. Should I just copy the whole /mail folder over the new one and be done with it? Or would "cat" be better? Again, there is no mail in the new folder so I can overwrite it if need be. TIA, Jim Flanagan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 30 April 2007 04:17:17 pm Jim Flanagan wrote:
Hi all,
This is a basic question, but what is the best way to copy my email files from one install (9.3) to my new install (10.2). Same machine. Old install is mounted as same user name mounted at "data1". I have not used kmail on the new install yet, but did open kmail once, have not set up users. I see may old mail in /data1/home/user/.kde/share/apps/kmail/mail. I see the same folder in the new install, with only a few sub-folders. Should I just copy the whole /mail folder over the new one and be done with it? Or would "cat" be better? Again, there is no mail in the new folder so I can overwrite it if need be.
I don't know if it is the kosher way to do things, but with my mom's system yesterday, I simply restored her home folder structure to a temporary folder. I then did an import using File > Import Messages. It pulled in her whole folder structure. I suppose this method does not retain filters and whatnot but it seemed to work for me. -- k -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 30 April 2007 04:17:17 pm Jim Flanagan wrote:
Hi all,
This is a basic question, but what is the best way to copy my email files from one install (9.3) to my new install (10.2). Same machine. Old install is mounted as same user name mounted at "data1". I have not used kmail on the new install yet, but did open kmail once, have not set up users. I see may old mail in /data1/home/user/.kde/share/apps/kmail/mail. I see the same folder in the new install, with only a few sub-folders. Should I just copy the whole /mail folder over the new one and be done with it? Or would "cat" be better? Again, there is no mail in the new folder so I can overwrite it if need be.
I just copied my files to the new location and it worked fine. The new version of kmail, imho, has a few little things missing (vs the earlier version) but it works good enough for me to keep it. Fred -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kai Ponte wrote:
On Monday 30 April 2007 04:17:17 pm Jim Flanagan wrote:
Hi all,
This is a basic question, but what is the best way to copy my email files from one install (9.3) to my new install (10.2). Same machine. Old install is mounted as same user name mounted at "data1". I have not used kmail on the new install yet, but did open kmail once, have not set up users. I see may old mail in /data1/home/user/.kde/share/apps/kmail/mail. I see the same folder in the new install, with only a few sub-folders. Should I just copy the whole /mail folder over the new one and be done with it? Or would "cat" be better? Again, there is no mail in the new folder so I can overwrite it if need be.
I don't know if it is the kosher way to do things, but with my mom's system yesterday, I simply restored her home folder structure to a temporary folder. I then did an import using File > Import Messages. It pulled in her whole folder structure.
I suppose this method does not retain filters and whatnot but it seemed to work for me.
Hi Kai, Import. Thats a good idea, I didn't think of that. Did this method save all the read/unread info as it was? I'm seem to remember that there is a way to import or copy filters too, but don't remember that far back to my changeover from 8.2 to 9.1. Jim F -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 30 April 2007 17:17, Jim Flanagan wrote:
Hi all,
This is a basic question, but what is the best way to copy my email files from one install (9.3) to my new install (10.2). Same machine. Old install is mounted as same user name mounted at "data1". I have not used kmail on the new install yet, but did open kmail once, have not set up users. I see may old mail in /data1/home/user/.kde/share/apps/kmail/mail. I see the same folder in the new install, with only a few sub-folders. Should I just copy the whole /mail folder over the new one and be done with it? Or would "cat" be better? Again, there is no mail in the new folder so I can overwrite it if need be.
Just copying the directory (or folder) should do it. I have used a ~/Mail directory since I started with 8.2. In every upgrade Kmail always recognizes the presence of that directory and uses it instead of ~/.kde/share/apps/kmail/mail without any need for change in settings. It may adapt the *.index files at the upgrade, but it is completely transparent and all messages are there with proper status (read/unread, etc). Carlos FL -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 5/1/07, Carlos F Lange <carlos.lange@ualberta.ca> wrote:
I have used a ~/Mail directory since I started with 8.2. In every upgrade Kmail always recognizes the presence of that directory and uses it instead of ~/.kde/share/apps/kmail/mail without any need for change in settings. It may adapt the *.index files at the upgrade, but it is completely transparent and all messages are there with proper status (read/unread, etc).
Wow, that's handy, because every time I upgrade, recovering my mail from Evolution to Evolution is a right pain in the neck. It does not support import of all data and settings from itself (seriously, that's a pretty silly misfeature), so you have to import mbox by mbox, and when you have a complex folder structure like I do... Or maybe I'm just doing it wrong, I wouldn't be surprised. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos F Lange wrote:
On Monday 30 April 2007 17:17, Jim Flanagan wrote:
Hi all,
This is a basic question, but what is the best way to copy my email files from one install (9.3) to my new install (10.2). Same machine. Old install is mounted as same user name mounted at "data1". I have not used kmail on the new install yet, but did open kmail once, have not set up users. I see may old mail in /data1/home/user/.kde/share/apps/kmail/mail. I see the same folder in the new install, with only a few sub-folders. Should I just copy the whole /mail folder over the new one and be done with it? Or would "cat" be better? Again, there is no mail in the new folder so I can overwrite it if need be.
Just copying the directory (or folder) should do it.
I have used a ~/Mail directory since I started with 8.2. In every upgrade Kmail always recognizes the presence of that directory and uses it instead of ~/.kde/share/apps/kmail/mail without any need for change in settings. It may adapt the *.index files at the upgrade, but it is completely transparent and all messages are there with proper status (read/unread, etc).
Carlos FL
I remember the /Mail or /mail folder in 8.2 as well, but lost that in on or the other upgrades since. I still prefer that to the current default location, but I guess as long as I know where it is, it really dosen't matter. Does a GUI method with KDE/Konq work well here, or should I use command line? Thanks, Jim F -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 01 May 2007 06:05, Jim Flanagan wrote:
Carlos F Lange wrote:
I have used a ~/Mail directory since I started with 8.2. In every upgrade Kmail always recognizes the presence of that directory and uses it instead of ~/.kde/share/apps/kmail/mail without any need for change in settings. It may adapt the *.index files at the upgrade, but it is completely transparent and all messages are there with proper status (read/unread, etc).
Carlos FL
I remember the /Mail or /mail folder in 8.2 as well, but lost that in on or the other upgrades since. I still prefer that to the current default location, but I guess as long as I know where it is, it really dosen't matter. Does a GUI method with KDE/Konq work well here, or should I use command line?
What I mean is that Kmail works exactly as in the default case. It just uses ~/Mail instead of the ~/.kde/.../mail folder. And you don't even need to tell it that. It just uses ~/Mail, if it is available. I have a huge folder tree with more than 40 top folders and a couple of 100s local folders for all my projects, collaborators, companies, approaching 3GB of e-mails that are valuable to me. I don't want that hidden in the bowels of .kde and risk it being altered by an update. I also want to back it up frequently, synchronize my home and office e-mail folder, and have it all in a default folder that, if needed, other email readers can see. All of this would be much harder with a hidden folder that may change place (remember .kde -> .kde2 ?). Using a visible folder also allows me to easily carry my important personal data around without worrying about copying data from hidden places (heck, my original Mail folder was migrated from a Sun workstation!). For the same reason I also started to use a visible calendar file calen.ics in Kontact, but this one I have to add to Calendar by hand every time I upgrade. I like ~/Mail so much that I create the folder in /etc/skel in every machine I install, so that all new users in my laboratory have that folder automatically in their new homes for Kmail to use and they don't even know this is not the default. But when they leave, they take ~/Mail with them. Carlos FL -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 01 May 2007, Carlos F Lange wrote:
using ~/Mail (was: Best way to copy mail (kmail))
Dear Carlos, Liked the idea of a visible Mail directory but had no time to work on it. Finilly I have tried to move my kmail directory to a newly made ~/Mail directory but that does not seem to work. Could you give some hints how to move my mails to the new directory? -- +=========================================+ | Powered by openSUSE 10.2 (i586) Kernel: 2.6.18.8-0.3-default | KDE: 3.5.6 "release 85.1" | 9:52pm up 8:45, 3 users, load average: 2.36, 2.16, 2.27 | +=========================================+ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Constant Brouerius van Nidek <constant@indo.net.id> [2007-06-01 21:55:40]:
On Tuesday 01 May 2007, Carlos F Lange wrote:
using ~/Mail (was: Best way to copy mail (kmail))
Dear Carlos, Liked the idea of a visible Mail directory but had no time to work on it. Finilly I have tried to move my kmail directory to a newly made ~/Mail directory but that does not seem to work. Could you give some hints how to move my mails to the new directory? In general when I copy my backup mail to a new installation, I've type something like: cp /media/usbdisk/Mail /my_new_mail_directory. Then I simply open my usual mailer (mutt) with the correct option to handle (set spoolfile iirc). You should have such options under Kmail shouldn't you? Guillaume -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri June 1 2007 08:55, Constant Brouerius van Nidek wrote:
On Tuesday 01 May 2007, Carlos F Lange wrote:
using ~/Mail (was: Best way to copy mail (kmail))
Dear Carlos, Liked the idea of a visible Mail directory but had no time to work on it. Finilly I have tried to move my kmail directory to a newly made ~/Mail directory but that does not seem to work. Could you give some hints how to move my mails to the new directory?
Constant, Since you did not have ~/Mail at the first login when .kde/ was created, your Kmail setting was pointed to the traditional place and now you have to edit kmailrc. Quit Kmail and open ~/.kde/share/config/kmailrc with your favourite editor and find at the end the section [General]. In that section there is an entry "folders" which should read: folders=$HOME/Mail Restart Kmail and see if it now sees your mail folders again. Carlos FL -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 01 May 2007, Carlos F Lange said:
On Monday 30 April 2007 17:17, Jim Flanagan wrote:
Hi all,
This is a basic question, but what is the best way to copy my email files from one install (9.3) to my new install (10.2). Same machine. Old install is mounted as same user name mounted at "data1". I have not used kmail on the new install yet, but did open kmail once, have not set up users. I see may old mail in /data1/home/user/.kde/share/apps/kmail/mail. I see the same folder in the new install, with only a few sub-folders. Should I just copy the whole /mail folder over the new one and be done with it? Or would "cat" be better? Again, there is no mail in the new folder so I can overwrite it if need be.
Just copying the directory (or folder) should do it.
That's right, just copy the whole $HOME/.kde/share/apps/kmail directory . To copy your settings and filters, take $HOME/.kde/share/config/kmailrc too. Will -- Desktop Engineer Interfaces and Applications Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed May 2 2007, Will Stephenson scratched these words onto a coconut shell, hoping for an answer:
On Tuesday 01 May 2007, Carlos F Lange said:
On Monday 30 April 2007 17:17, Jim Flanagan wrote:
Hi all,
This is a basic question, but what is the best way to copy my email files from one install (9.3) to my new install (10.2). Same machine. Old install is mounted as same user name mounted at "data1". I have not used kmail on the new install yet, but did open kmail once, have not set up users. I see may old mail in /data1/home/user/.kde/share/apps/kmail/mail. I see the same folder in the new install, with only a few sub-folders. Should I just copy the whole /mail folder over the new one and be done with it? Or would "cat" be better? Again, there is no mail in the new folder so I can overwrite it if need be.
Just copying the directory (or folder) should do it.
That's right, just copy the whole $HOME/.kde/share/apps/kmail directory . To copy your settings and filters, take $HOME/.kde/share/config/kmailrc too.
This is fine , if you want to move your whole /home directory. It's basically what happens when we don't let a new install overwrite our /home partition. You would move *just* your kmail , or any other program, the same way. should you not want to copy your entire Home directory. ( It's nice every now and then to start clean, and just add your config files . ) If you use kde, most, tho not all of your configurations are in ,kde/share/config or .kde/share/apps you *can* just drop your old config files into or overwrite the files that is there... if you did a nice clean install. Be sure to make any of these files writable . Whatever your media for backing them up, it will transfer the files as not writable when you put them into your new /home , even tho the user name is the same as before. It will drive you nuts if you decide to change kmail's filter setup , for instance.. because you will have to re-do it every time you open the thing. Colour me really red faced, for forgetting that one on more than one occasion and being really annoyed that I couldn't make "bogofilter" or "spamassassin" behave as I expected them to. ;^) The requirement to change any of the config files in your home directory is the same no matter the program. You must make certain your .kde/config files are writable. Don'tcha just love Linux? There are usually several ways to do most things. And the folks who write the programs actually will tell you the "why" of things if you ask. Uh, Ask nicely , of course. ;^) -- j I've lived in the real world enough, we're all here because we ain't all there. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2007-05-02 at 08:38 -0400, jfweber@gilweber.com wrote: ...
Be sure to make any of these files writable . Whatever your media for backing them up, it will transfer the files as not writable when you put them into your new /home , even tho the user name is the same as before.
No, that's not true. Not always, at least. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGOJHttTMYHG2NR9URAv+rAJ4ltG8zY0jjgEV1vULRdilowYNN3gCgiwIF tVKDiuN7fxQzwn15vT5Fs2M= =ui6c -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed May 2 2007, Carlos E. R. scratched these words onto a coconut shell, hoping for an answer:
The Wednesday 2007-05-02 at 08:38 -0400, jfweber@gilweber.com wrote:
...
Be sure to make any of these files writable . Whatever your media for backing them up, it will transfer the files as not writable when you put them into your new /home , even tho the user name is the same as before.
No, that's not true. Not always, at least. Well , you are correct, but nothing is "always" anything, is it. It's one of those annoyances we put up w/ because it "just happens" sometimes.
Computer things which used to be cast in stone are now as different as Phil Spector's latest wig... ;^) -- j I've lived in the real world enough, we're all here because we ain't all there. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 02 May 2007 19:38, jfweber@gilweber.com wrote:
That's right, just copy the whole $HOME/.kde/share/apps/kmail directory . To copy your settings and filters, take $HOME/.kde/share/config/kmailrc too. It will drive you nuts if you decide to change kmail's filter setup , for instance.. because you will have to re-do it every time you open the thing. Colour me really red faced, for forgetting that one on more than one occasion and being really annoyed that I couldn't make "bogofilter" or "spamassassin" behave as I expected them to. ;^)
Hi, I've been doing that procedure when upgrading from different version of Linux to another, bringing my kmail's email (From Mandrake, Fedora, and now to Suse). The email can be read, but the filters are not. So I have to re-create all the filters all along again. Is there any way we can bring the filter too? Thank you, -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 2:35pm up 2:04, 2.6.18.2-34-default GNU/Linux Let's use OpenOffice. http://www.openoffice.org
participants (11)
-
Carlos E. R.
-
Carlos F Lange
-
Constant Brouerius van Nidek
-
Fajar Priyanto
-
Guillaume R.
-
jfweber@gilweber.com
-
Jim Flanagan
-
Kai Ponte
-
lists Guillot
-
Stevens
-
Will Stephenson