Comment 20 for bug 731835

Revision history for this message
In , Alex Ball (a-ball) wrote :

I can confirm this for KMail 1.13.6 (Kontact 4.4.10) on KDE 4.6.3 (Kubuntu 11.04 64-bit).

My first IMAP account (set up back on KDE 4.4.2) behaves as expected, but with my second IMAP account (set up a few days ago) I got the message that KWallet was unavailable when setting up the account, and having declined the option to have KMail store it in its own configuration files, I got asked for the password every time I started Kontact, and the error about KWallet not being available every time I closed it.

However, I have managed to workaround the problem (touch wood) using the first account as a template. With Kontact/KMail closed:
1. Open ~/.kde/share/config/kmailrc.
2. Locate the configuration block for the offending account and change 'store-passwd=false' to 'store-passwd=true' (and save).
3. Note the numeric identity for the account at the start of that configuration block (say, Account 1234567890)
4. Open up KDE Wallet Manager, and the default wallet
5. Find the entry 'kmail', select 'Passwords' and right-click or press Ins to add new entry.
6. Name the entry after the numeric account identity (e.g. account-123457890) and add the password (and save).

I presume this means that KMail now has a problem with writing passwords to KWallet, and won't change the 'store-passwd' setting until it has, but that it has no trouble reading from KWallet.