First, locate your mail directory. That should be ~/Mail or ~/.kde/share/apps/kmail/mail .
|
Source code
|
1
|
tar cvjf mail-backup.tar.bz2 <em>maildir</em>
|
Transfer the file to your new machine and extract:
|
Source code
|
1
|
tar xvjpf mail-backup.tar.bz2 -C <em>maildir</em>
|
But it may be handy to copy the whole ~/.kde folder altogether to the new machine to preserve all your settings in KDE.