Bug 250773

Summary: Cannot receive email, password field in account settings greyed out
Product: [Frameworks and Libraries] Akonadi Reporter: David Todd <contact>
Component: POP3 ResourceAssignee: Thomas McGuire <mcguire>
Status: RESOLVED WAITINGFORINFO    
Severity: major CC: claim, kdepim-bugs, vkrause
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Todd 2010-09-10 12:45:27 UTC
Version:           2.0.89 (using Devel) 
OS:                Linux

As description.  Cannot receive email from any pop3 account.  All account settings seem OK except that password field in each one is blank.  Cannot enter password as the field is greyed out.

Sending email works fine.

Reproducible: Always

Steps to Reproduce:
Try and receive email.

Actual Results:  
No email received.

Expected Results:  
Email SHOULD be received.

OS: Linux (i686) release 2.6.31.6-desktop-1mnb
Compiler: gcc
Comment 1 Thomas McGuire 2010-12-25 00:43:29 UTC
If the password field is grayed out it means the Akonadi POP3 resource can't open the wallet (KWallet).
Did you get a wallet popup in the background which you maybe didn't see? Did you maybe disallow wallet access for the Akonadi POP3 resource?

Also check the error output on the console.
You get error output by first quitting all applications that use Akonadi (Kontact, KMail, ...), then typing "akonadictl start" in a console. On that console, you should now see debug output. Is there any output when you open the configure dialog of the POP3 resource?

It should still be possible to check mail without wallet access, don't you get a password popup when attempting to check mail? BTW, this popup is broken in KDE SC 4.6 beta2, but works in earlier or later versions.
If you don't get a popup here, I'm interested in the debug output as well.
Comment 2 Waldemar Szostak 2011-06-21 01:07:59 UTC
I don't really know if I've ever used kwallet (I do have it installed, though :) ). The password field is not really greyed out, merely disabled (but I suppose it's a matter of the colour theme used).

When I launched 'akonadictl start' in the console I got no output after opening KMail's POP3 properties window. Of course, I also don't get any window for entering the password either.
Comment 3 Waldemar Szostak 2011-06-21 01:25:09 UTC
Ok.. Indeed I had kwallet disabled in Control panel (or System settings) -> Password and user account.

Still, it'd be 'nice' if kMail tried its own window for obtaining passwords from the user or at least complain in a more user friendly way about the unability to use kwallet. However, I'm not sure if KMail is supposed to rely entirely on kwallet..