Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <simon@josefsson.org>
To: ding@gnus.org
Subject: Re: nnimap authentication prompts?
Date: Tue, 22 Feb 2011 09:50:52 +0100	[thread overview]
Message-ID: <87tyfw1mhf.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87zkppj719.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 21 Feb 2011 15:34:58 -0800")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Simon Josefsson <simon@josefsson.org> writes:
>
>> I am upgrading from a rather old Gnus release, and it works relatively
>> well so far after I removed all nnir hooks in ~/.emacs.  I have this
>> gnus-secondary-select-method:
>>
>>  (nnimap "yxa"
>> 	 (nnimap-stream starttls)
>> 	 (nnimap-address "localhost")
>> 	 (nnimap-server-port 1430))
>>
>> and a line in ~/.authinfo for this:
>>
>> machine localhost port 1430 login jas password foo
>
> Hm...  hm...  Oh, it could possibly be a type issue?  If you change that
> to the string "1430", does it work then?

Nope, I tried that too in a later followup.  If I have

machine localhost port "1430" login jas password foo

it would query me for hostname, port, username and password again and
offer to save it (in ~/.authinfo.gpg) as:

machine localhost login jas password foo

so it seems the code is forgetting that the server is on a non-default
port.

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

/Simon



  reply	other threads:[~2011-02-22  8:50 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 [this message]
2011-02-22 22:08     ` Ted Zlatanov
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=87tyfw1mhf.fsf@latte.josefsson.org \
    --to=simon@josefsson.org \
    --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).