After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 594584 - Repeated SMTP password prompt after changing password
Repeated SMTP password prompt after changing password
Status: RESOLVED NOTABUG
Product: evolution-data-server
Classification: Platform
Component: Mailer
2.28.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[passwords]
Depends on:
Blocks:
 
 
Reported: 2009-09-09 02:15 UTC by Matthew Barnes
Modified: 2018-12-11 16:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthew Barnes 2009-09-09 02:15:12 UTC
Forwarding from a Fedora bug:
http://bugzilla.redhat.com/show_bug.cgi?id=521987

Description of problem:
I changed my mail server password.

Now, every time I reboot and start Evolution, it asks me for my username and
password for the outbound mail server.

Even after entering it correctly, it asks again.

After 3 or 4 times, it seems to give up, remember it, and work.

And then I reboot my computer, and I have to do it again!

Version-Release number of selected component (if applicable):
evolution-2.26.3-1.fc11.i586
gnome-keyring-2.26.3-1.fc11.i586

How reproducible:
Presumably always.

Steps to Reproduce:
1. Change password for desktop (presumably via "passwd" command) 
2. Change password on the mail server
3. Open Evolution
4. Try to send an email

Actual results:
Repeatedly asked for password.

Expected results:
Evolution (or GNOME Keyring or whatever) remembers my password.

Additional info:  


--- Followup Comment #1 ---

Remember password is ticked in my Evolution settings (Edit->Preferences->Mail
Accounts->(Account)->Edit->Sending Email->Remember password).

Installed Seahorse to debug, and it has got an entry for my mail server, and
has the correct password.

Will reboot to see if the problem persists.  Maybe GNOME keyring has finally
remembered the correct password.

Or maybe Evolution is unable to unlock my master keyring?  But then why doesn't
it show a password prompt when I start it?


--- Followup Comment #2 ---

After a reboot, seahorse shows:
Passwords: login
  - Network secret
  - imap://...
  - user@host

but no entry for SMTP.

Also: why isn't Seahorse installed by default if it's so often needed, and why
doesn't it have an entry in the GNOME menu even after it's installed?


--- Followup Comment #3 ---

The "repeated" aspect is uncertain.  This time it appears to have worked the
first time.


--- Followup Comment #4 ---

After rebooting, the SMTP password now appears in Seahorse.

So two obvious possibilities:
- I mistyped my password at the first Evolution SMTP password prompt and it
fails to store the password if the first-entered credentials are incorrect
- I correctly typed my password and some other condition caused it to fail

In any case, there's a problem somewhere around changing passwords.
Comment 1 Matthew Barnes 2009-09-09 02:16:05 UTC
Probably a duplicate of bug #546545.
Comment 2 Mikel Ward 2009-09-09 04:48:30 UTC
Goodness me.  It's started prompting me again.  After typing my password very deliberately, it took 6 attempts of typing the same password before it would accept it.
Comment 3 Mikel Ward 2009-09-09 04:49:56 UTC
Bug 546545 says it doesn't remember it.

I'm saying the problem appears to be worse than that.  Under some unknown circumstances, it doesn't even remember the correct password for a whole session.

That's assuming my mail server is working correctly I guess.
Comment 4 Mikel Ward 2009-09-11 07:03:51 UTC
Found out other users were having problems with the mail server, so there might not be any issue on Evolution or g-k.

Will confirm/close here when I'm sure.
Comment 5 Mikel Ward 2009-09-16 02:34:24 UTC
Seems to be a known problem with Zimbra mail server.
http://www.zimbra.com/forums/administrators/17274-smtp-authentication-fail-intermittent.html#post152325

Assuming g-k (or Evolution via g-k) removes the stored password when authentication fails?

If so, please close this bug as invalid.
Comment 6 Milan Crha 2018-12-11 16:12:36 UTC
Evolution asks for a password when the server returns a code which indicates that the password (or username) had been wrong, thus if the server claimed the credentials are invalid, the Evolution asked for them.