securely saving kmail critical info to an USB key

This is what I have done on my macosx system for this:

1. created a directory for what I deem to be critical files (emails and configuration) on my system:

~$ md /<path-to-mail-backup-dir>/mail-backup

2. created a script able to update the backup directory, from the major ~/.kde place, tar and encrypt (using openssl and a password file to be passed to the encryption process) the tar file, then moved the encrypted file to the mounted USB volume (generically named “NO NAME” in the example). The script file is:


#!/bin/sh

cd ~/.kde/share/apps/
rsync -avz ./kmail –delete /<path-to-mail-backup-dir>/mail-backup/
rsync -avz ./kabc –delete /<path-to-mail-backup-dir>/mail-backup/
cd ../config/
rsync -avz ./kmailrc* –delete /<path-to-mail-backup-dir>/mail-backup/
rsync -avz ./emailidenti* –delete /<path-to-mail-backup-dir>/mail-backup/
cd /<path-to-mail-backup-dir>/mail-backup
tar -cf mail-backup.tar /<path-to-mail-backup-dir>/mail-backup/
openssl des3 -salt -in mail-backup.tar -out mail-backup.tar.des3 -pass file:/<path-to-password-file>/password.txt
mv -f mail-backup.tar.des3 /Volumes/NO\ NAME/
rm -f mail-backup.tar*

kmail, firefox and macosx

Need to document how to configure firefox launching from within kmail, as none of the “obvious” (googled) options worked:

X11 –> terminal –> kcontrol –> KDE components –> Component chooser –> Web browser –> enable “in the following browser” and add this line:

open /Applications/Firefox.app

The problem is that the only answer having come up close to the above was indicating the line to be:

/Applications/Firefox.app/Contents/MacOS/firefox

recommendation from an old posting on the subject, but which option leads to a “complaint”, if firefox is already running: “A copy of firefox is already open …”

beyond belief – 2007

Recordings from the second edition of this conferenceEnlightenment 2.0 – are now available online.