bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12424: 24.2; Gnus smtpmail not reprompting for failed password


From: Lars Ingebrigtsen
Subject: bug#12424: 24.2; Gnus smtpmail not reprompting for failed password
Date: Mon, 24 Dec 2012 12:40:33 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Lars Magne Ingebrigtsen <lmi@gnus.org> writes:

> Looking at the code in smtpmail.el, it looks like it should only save
> the password if the login was successful.  However, I don't have access
> to any SMTP servers that require login, so I can't reproduce this.

Yes, I do.

The problem is this call that's done the second time with
`ask-for-password' set to t.  Then it will return the previous (wrong)
password for some reason or other...

(auth-source-search
 :host "smtp.gmail.com"
 :port "587"
 :user nil
 :max 1
 :require (and ask-for-password
               '(:user :secret))
 :create ask-for-password)

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]