[kde-linux] Exporting mails from kmail

Kevin Krammer kevin.krammer at gmx.at
Thu Jul 5 09:17:23 UTC 2007

On Thursday 05 July 2007, Boyan Tabakov wrote:

> Can I configure the location of my mail folder?
>   Exit KMail, make a backup of ~/.kde/share/config/kmailrc, then open it
> with an editor and add e.g. folders=/home/username/.mail to the “[General]”
> section. Then move all your existing folders (including the hidden index
> files) to the new location. The next time you start KMail will
> use /home/username/.mail instead of /home/username/Mail. Note that KMail
> will lose its filters if you change the mail folder's location but forget
> to move your existing folders.

There is a nice tool for manipulating KDE programs' config files: kwriteconfig
The above change would be achieved like this

% kwriteconfig --file kmailrc --group General --key 
folders "/path/to/newmaildir"


Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20070705/d7d85362/attachment.sig>

More information about the kde-linux mailing list