Paul, On Saturday 08 January 2005 13:45, Paul W. Abrahams wrote:
Does anyone have a suggestion for archiving and retrieving messages under Kmail? Archiving in the obvious way is trivial; just save the Mail folder in one's home directory. But retrieving messages doesn't seem so easy. Assuming I saved Mail to a CD, the best I can think of is to mount the CD and somehow fake a folder containing its contents, then symlink from that folder to the CD. That seems neither clean nor straightforward. Does anyone have a better plan?
One thing that occurs to me is that you could devise an "autorun.sh" script to put on your archive CDs that would create the necessary symlinks in your home directory's Mail subdirectory when the CD is mounted. It's probably not an ideal solution, in that there is apparently no way to remove those symlinks when the archive CD is unmounted. I don't know what is the consequence of a dangling symlink in the ~/Mail directory, but you could experiment to see how KMail reacts. With luck, it would simply ignore any symlink that does not resolve.
Paul
Randall Schulz