[kdepim-users] How to import Maildir after re-installing?

Ingo Klöcker kloecker at kde.org
Tue Apr 20 19:43:05 BST 2010

On Tuesday 20 April 2010, Rafa Grimán wrote:
> Hi :)
> On Monday 19 April 2010 22:07 Thomas Taylor wrote
> > How do I get my messages in ~/Maildir back?  I recently had to
> > reformat my hard drive after backing up my home directory.  After
> > re-installing openSuSE 11.2 I reloaded my home directory.
> > 
> > Apparently kmail didn't use the prior settings (which I can go into
> > the home folder and see).  Anyway, it came up in 1st use mode
> > requiring me to re-enter my personal data and settings.  After
> > that, I can't retrieve my prior messages.  Tried this with the
> > import Maildir from the file menu but that couldn't seem to import
> > anything, saying nothing to import.
> > 
> > Any suggestions?  I really need to get some messages from January
> > of this year but have the mail server (comcast.net) set to delete
> > after 90 days.
> Check your .kde4/share/config/kmailrc and look for:

Depending on your distribution you might have to look in ~/.kde instead 
of ~/.kde4.

> 	folders[$e]=
> I've got:
> 	folders[$e]=$HOME/Mail

Yes, that's the correct spot to look at. To give some more information:
$HOME/Mail was used as location for the locally stored messages a long 
time ago. Somewhen during the KDE SC 3 cycle this was changed to 
$HOME/.kde/share/apps/kmail/mail. Some distributions did use other 
locations for some time.

If your messages are really in ~/Maildir then change the value of the 
folders[$e] entry to $HOME/Maildir. KMail/Kontact should not be running 
when you do this. After the next start KMail/Kontact should show your 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20100420/98efe211/attachment.sig>
-------------- next part --------------
KDE PIM users mailing list
kdepim-users at kde.org

More information about the kdepim-users mailing list