Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: nnimap authentication prompts?
Date: Mon, 21 Feb 2011 15:34:58 -0800	[thread overview]
Message-ID: <87zkppj719.fsf@gnus.org> (raw)
In-Reply-To: <87tyfxfedo.fsf@latte.josefsson.org>

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?

If so, this is the culprit:

      (when nnimap-server-port
	(setq ports (append ports (list nnimap-server-port))))

auth-source expects strings, I think, so that should then be

(list (format "%s" nnimap-server-port))

I'll fix that.
        
-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  parent reply	other threads:[~2011-02-21 23:34 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 [this message]
2011-02-22  8:50   ` Simon Josefsson
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=87zkppj719.fsf@gnus.org \
    --to=larsi@gnus.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).