Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: nnimap authentication prompts?
Date: Tue, 22 Feb 2011 16:08:10 -0600	[thread overview]
Message-ID: <87mxlnwwmt.fsf@lifelogs.com> (raw)
In-Reply-To: <87tyfw1mhf.fsf@latte.josefsson.org>

On Tue, 22 Feb 2011 09:50:52 +0100 Simon Josefsson <simon@josefsson.org> wrote: 

SJ> Btw, shouldn't all auto-added stanzas to ~/.authinfo* use "port"?  Just
SJ> because you are saving a password for say port 143 doesn't mean you have
SJ> the same password (or even username) for port 587.

If the query had it, yes.  Otherwise no.  So:

;; no port in the saved line
(auth-source-search :host "nonesuch" :max 1 :create t)

;; port 143 in the saved line
(auth-source-search :host "nonesuch" :port 143 :max 1 :create t)

;; port 143 in the saved line
(auth-source-search :host "nonesuch" :port '(143 "imap") :max 1 :create t)

This is the case as of today's checkins.  Note you have the chance to
review and edit the line with `e' at the save prompt.

Ted




  reply	other threads:[~2011-02-22 22:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21 18:09 Simon Josefsson
2011-02-21 18:39 ` Sivaram Neelakantan
2011-02-21 20:46   ` Ted Zlatanov
2011-02-21 21:39     ` Simon Josefsson
2011-02-21 21:43       ` Simon Josefsson
2011-02-22 22:09         ` Ted Zlatanov
2011-02-23 13:39           ` Simon Josefsson
2011-02-23 14:30             ` Ted Zlatanov
2011-02-23 23:30               ` Lars Ingebrigtsen
2011-02-21 23:34 ` Lars Ingebrigtsen
2011-02-22  8:50   ` Simon Josefsson
2011-02-22 22:08     ` Ted Zlatanov [this message]
2011-02-23 13:41       ` Simon Josefsson

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=87mxlnwwmt.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).