GNOME Bugzilla – Bug 558232
Keeps forgetting passwords
Last modified: 2008-11-03 18:26:32 UTC
I noticed this a few weeks ago for my GMail IMAP account: suddenly Evolution would stop using the password from the keyring and ask every time I start it for this password (only offering to remember the pass for this session). At some point the problem seamed to have fixed itself... but yesterday the same happened for another mail account (this time POP). Exactly the same issue. The POP password is gone from the keyring (SMTP pass still stored for this account).
Created attachment 121514 [details] Screenshot
If you're still getting consistent password prompts for your POP account on startup with only an offer to remember the password for the session, would you mind trying a bit of debugging? I'm interested in what the URL that's getting passed to mail_config_get_account_by_source_url() looks like, particularly the URL for your POP account, and whether that function is returning a match. I can give you more specific instructions if you need them.
I don't have much time to play with the evo source atm but if you can provide a debug patch or at least some more specific information where to insert debug statements I would be happy to provide more information
Created attachment 121754 [details] [review] Debugging patch Here's a patch that generates some console messages while comparing URIs. When Camel needs a password it sends up the URI for the requesting account and Evolution compares that to all known account URIs. If it can't find a match, the password prompt will only offer to save it for the current session. Try capturing the debug output from this patch just before you get a password prompt. I'm guessing one of the URLs will have attributes the other doesn't, so the match will fail.
Created attachment 121756 [details] [review] Revised debugging patch Whoops. Small boo boo in the previous patch.
Created attachment 121798 [details] Log I disabled all but the gmx pop account, rebuild evo with the patch and this is what I get. Not really useful I think, but perhaps you can read more from it :)
Moving this investigation over to bug #552583. Seems to be the same issue. *** This bug has been marked as a duplicate of 552583 ***