This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to change default mail directory in KMail???

Tags: None
(comma "," separated)
dkolars
Registered Member
Posts
3
Karma
0
OS
In the KMail manual it says: "Invoking KMail for the first time creates a directory called Mail containing the initial files (inbox, outbox, sent-mail, trash and drafts) in your home directory."

Fine... except it's rather buried in the "home" directory: /home/user/.kde/share/apps/kmail/mail

Sheesh... is there a setting to change it so that I can find my mail in:
/home/user/Mail

???

Thanks... I'm still deciding if I can use KMail, as I've migrated from Windows to Ubuntu, and am still running Eudora 7.0 under Wine... ~Supposedly~?? KMail can import my filters and address book... still messing with that... the manual said to compact my mail folders and move to the Mail directory.. I --finally-- found it, as shown above...

All hints welcomed!! Thanks.. dk
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS
Looks like the manual is outdated.

KMail used to use $HOME/Mail in very early versions but then distributors started to patch that to "hidden" locations like $HOME/.Mail, creating a difficult to support situation.
Therefore it now creates it in a hidden but known location by default.

However it will detect $HOME/Mail correctly when started for the first time and that directory being present (probably needs a maildir in there).

You can reconfigure that at any time by modifying the respective configuration property.
Most easy way to do that is the following command

Code: Select all
kwriteconfig --file kmailrc --group General --key folders $HOME/Mail


What this does it basically make sure there is a section in the config file "kmailrc" which looks like this

Code: Select all
[General]
folders=$HOME/Mail


Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
Alec
Registered Member
Posts
565
Karma
1
OS
Thanks! I wish I knew I could do that earlier! :D


Get problems solved faster - get reply notifications through Jabber!


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], Google [Bot], lockheed, Yahoo [Bot]