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

kmail addresses

Tags: None
(comma "," separated)
Jackobannon
Registered Member
Posts
1
Karma
0
OS

kmail addresses

Fri Aug 06, 2010 10:40 pm
opensuse 11.2,kde 4.3.5, kmail 1.12.4, kaddressbook 4.3

kmail question

When I click on the Select button in a composer window, the Select Recipients window pops up. The Address book window has: All, Default Address Book, Recent Addresses and Selected Recipients.

Where are these addresses kept? I have looked in all the obvious spots in $USER/.kde4 but nothing. I did a grep -R <one of the addresses> $HOME/.kde4
and nothing other than the messages that contained that address. Ditto with
kaddressbookrc.

And please don't say in the address book, 'cuz they ain't all there.
User avatar
annew
Manager
Posts
1155
Karma
11
OS

Re: kmail addresses

Sat Aug 21, 2010 2:47 pm
Did you set up resources as described on http://userbase.kde.org/Akonadi_and_AddressBook ? You need an Akonadi controlled resource which points to ~/.local/share/contacts.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
atrox
Registered Member
Posts
211
Karma
0
OS

Re: kmail addresses

Wed Nov 17, 2010 9:55 am
I haven't set up Akonadi resource for contacts. There's only "Default Address Book" which is pointing to std.vcf, but it's empty. Under "Recent addresses" there are still quite a few contacts. Where are these kept? :)

Are they migrated to Akonadi resource once I set up one?
User avatar
atrox
Registered Member
Posts
211
Karma
0
OS

Re: kmail addresses

Wed Nov 17, 2010 10:11 am
So I tried adding an Akonadi resource under "Contacts" resources: Add >> Akonadi Address Books.

After that a dialog appears: "Starting Akonadi server...", but it never finishes. Weird thing is that Akonadi Server Configuration says it's running already.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: kmail addresses

Thu Nov 18, 2010 6:23 am
Can you check the content of ~/.xsession-errors? This is not expected behaviour.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
atrox
Registered Member
Posts
211
Karma
0
OS

Re: kmail addresses

Thu Nov 18, 2010 7:56 am
Nothing is thrown there about Akonadi, should there be smth? I suspected too that it is not an expexted behaviour ;)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: kmail addresses

Fri Nov 19, 2010 1:10 am
If you open System Monitor through KRunner once it starts to try and start, can you see any "akonadi_control" or "akonadiserver" processes running?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
atrox
Registered Member
Posts
211
Karma
0
OS

Re: kmail addresses

Wed Dec 01, 2010 7:56 am
atrox wrote:I haven't set up Akonadi resource for contacts. There's only "Default Address Book" which is pointing to std.vcf, but it's empty. Under "Recent addresses" there are still quite a few contacts. Where are these kept? :)

Are they migrated to Akonadi resource once I set up one?


So I managed to set up my Akonadi address book on another machine. When I start adding a recipient in KMail, the recent address list is just the same as it was before.
  • Where are the recent addresses stored?
  • Where can I see contacts from the newly added Akonadi address book?
  • Can I store my recent contacts in Akonadi address book?
User avatar
annew
Manager
Posts
1155
Karma
11
OS

Re: kmail addresses

Wed Dec 01, 2010 5:19 pm
@atrox: which version are you running? There seems to be a nasty bug in 3.5.80 (a.k.a. 4.6 Beta 1) which stops kaddressbook from showing your contacts. KMail can still see and use them, but you can't look up any details in the addressbook.

If you have addresses in std.vcf the migration should be automatic, the first time you start an akonadi-enabled addressbook, kmail, or kontact. The easy check is to look in ~/.local/share/contacts - if you have many obscurely-named small files there, they are your contacts in what is normally listed as Personal Contacts, and these are the ones to keep backed up.

Recent addresses are contained in kmailrc. You can look at those (and edit them) from Configure KMail -> Composer page -> Edit Recent Addresses button.

I don't know of any way to automatically add them to the akonadi addressbook, but right-click on an address in either To or From should offer you to add it to the addressbook.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
annew
Manager
Posts
1155
Karma
11
OS

Re: kmail addresses

Wed Dec 01, 2010 7:12 pm
Just heard from the developers about the problem with 4.6 - it's not a bug, it's a feature! It really is! It's now possible to select whether to display individual addressbooks, as it once was in 3.5. There is a checkbox in front of each addressbook. Use that to enable display of the ones you want to use.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
atrox
Registered Member
Posts
211
Karma
0
OS

Re: kmail addresses

Thu Dec 02, 2010 7:12 am
annew wrote:@atrox: which version are you running?


I'm actually still on 4.5.

annew wrote:If you have addresses in std.vcf the migration should be automatic, the first time you start an akonadi-enabled addressbook, kmail, or kontact. The easy check is to look in ~/.local/share/contacts - if you have many obscurely-named small files there, they are your contacts in what is normally listed as Personal Contacts, and these are the ones to keep backed up.


Nope, the folder is actually empty - maybe because I've not added anything in the addressbook? :)

annew wrote:I don't know of any way to automatically add them to the akonadi addressbook, but right-click on an address in either To or From should offer you to add it to the addressbook.


Hmm, so if I don't add people into addressbook manually, there's no use of Akonadi addressbook for me?
I wanted to use Akonadi for that because KMail seems to forget contacts from its recent addresses :(
User avatar
annew
Manager
Posts
1155
Karma
11
OS

Re: kmail addresses

Thu Dec 02, 2010 2:46 pm
4.5 should have migrated your std.vcf if you had an existing one - did you have one from earlier? If you did, we can manually get the addresses into the Akonadi resource. If you didn't, you need to start collecting the addresses you need. We don't collect all incoming addresses - with the number of mailing lists I subscribe to I would have a contact list of thousands.

Yes, Recent Addresses are just that - the ones most recently used. If you use a new one, an older one will drop out of the list.


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
atrox
Registered Member
Posts
211
Karma
0
OS

Re: kmail addresses

Thu Dec 02, 2010 8:15 pm
annew wrote:Yes, Recent Addresses are just that - the ones most recently used. If you use a new one, an older one will drop out of the list.


Yeah, that's sad. I wish one could configure the number for recent contacts..
User avatar
atrox
Registered Member
Posts
211
Karma
0
OS

Re: kmail addresses

Fri Dec 03, 2010 7:40 am
atrox wrote:
annew wrote:Yes, Recent Addresses are just that - the ones most recently used. If you use a new one, an older one will drop out of the list.


Yeah, that's sad. I wish one could configure the number for recent contacts..


https://bugs.kde.org/show_bug.cgi?id=258653
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

Re: kmail addresses

Fri Dec 03, 2010 6:16 pm
Jackobannon wrote:opensuse 11.2,kde 4.3.5, kmail 1.12.4, kaddressbook 4.3

When I click on the Select button in a composer window, the Select Recipients window pops up. The Address book window has: All, Default Address Book, Recent Addresses and Selected Recipients.

Where are these addresses kept?

Default Address book is $HOME/.kde4/share/apps/kabc/std.vcf
There might be additional address books configured, you can check in KAddressBook or in Systemsettings -> Advanced KDE Resources.

Recent Addresses (and my guess is also Selected Recipients) are stored in KMail's config file, $HOME/.kde4/share/config/kmailrc

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar