Jump to content

In which txt file does kmail keep email addresses?


emmanuel_uk
 Share

Recommended Posts

I am trying to find in which configuration file my distribution lists in kmail are stored

(and the emails in plain text as well while I am at it)

(need to do that because I want to use a .kde backup)

 

No luck within (unless I am not cherching well)

~/.kde/share/apps/kmail

~/.kde/share/config/kmailrc or kontactrc

~/.kmailrc

nor with google

 

I might cat the whole .kde directory and grep a known string

(might work)

 

Thanks

Link to comment
Share on other sites

Sorry I can't help with kmail, I've never used it, but if you want to grep for a known string, do this:

grep -iR "known string" ~/.kde/

which means grep Recursively and case-insensitively for that string starting from that directory. It'll take a while if the directory is big but it should work.

Link to comment
Share on other sites

on my old cooker partition, (which I abandoned before summer) I have a folder .kde/share/apps/kmail/mail/:

[mhn@secret mhn]$ ls .kde/share/apps/kmail/mail/
drafts/  inbox/  inboxmbox  outbox/  sent-mail/  sentmbox  trash/

don't remember if I've created those myself though, or they have changed locations.

 

Nowadays I use thunderbird (mdv 2006), so cant say if it's the same now

Link to comment
Share on other sites

thanks for the help

eventually found emails and list were there

Why is it called abc, no idea, nevermind

$ ls .kde/share/apps/kabc

distlists lock/ std.vcf std.vcf_1 std.vcf_2 std.vcf_3 std.vcf_4 std.vcf_5 std.vcf_6 std.vcf_7

 

I had to use this bad bash script (could grep but would not tell me which file), so j tells me which file it was

find . -type f | while read i;

do

{

j=$[ $j+1 ]

echo $j

#cat $i | xargs ls -l | grep -v "No such file or directory"

cat $i | grep toto

}

done;

 

Very much like your grep -iR foobar `pwd`

thanks again

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...