all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <lmi@gnus.org>
To: Stephen Leake <stephen.a.leake@nasa.gov>
Cc: 12424@debbugs.gnu.org
Subject: bug#12424: 24.2; Gnus smtpmail not reprompting for failed password
Date: Mon, 24 Dec 2012 12:27:30 +0100	[thread overview]
Message-ID: <87sj6vwuzh.fsf@gnus.org> (raw)
In-Reply-To: <xpnx4nn3l0iz.fsf@GSOD200817651L.ndc.nasa.gov> (Stephen Leake's message of "Wed, 12 Sep 2012 11:32:36 -0400")

Stephen Leake <stephen.a.leake@nasa.gov> writes:

> I have Gnus set up to get mail from an MS exchange server, using tls for
> authentication.
>
> Relevant settings:
>
> (setq starttls-use-gnutls nil)
> (setq starttls-extra-arguments nil)

If you have an Emacs 24 with built-in gnutls support, then these
variables aren't used.

> (setq smtpmail-starttls-credentials
>       '(
>         ("smtp02.ndc.nasa.gov" 587 nil nil)
>         ))
> (setq smtpmail-auth-credentials
>       '(
>         ;; The number of backslashes here seems to change from time to
>         ;; time; experiment if it fails.
>         ("smtp02.ndc.nasa.gov" 587 "ndc\\sleake" nil)
>         ))

These variables no longer exist in Emacs 24.

> When first connecting, it prompts for my password. If I enter it
> incorrectly, it never reprompts; I have to quit Emacs to get it to
> reprompt.

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.

I think.

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





  reply	other threads:[~2012-12-24 11:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 15:32 bug#12424: 24.2; Gnus smtpmail not reprompting for failed password Stephen Leake
2012-12-24 11:27 ` Lars Magne Ingebrigtsen [this message]
2012-12-24 11:40   ` Lars Ingebrigtsen
2012-12-24 12:14 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sj6vwuzh.fsf@gnus.org \
    --to=lmi@gnus.org \
    --cc=12424@debbugs.gnu.org \
    --cc=stephen.a.leake@nasa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.