Gnus development mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Jochen Hein <jochen@jochen.org>
Cc: ding@gnus.org,  Lars Ingebrigtsen <larsi@gnus.org>,
	 Florian Weimer <fw@deneb.enyo.de>
Subject: Re: gssapi authentication for nnimap
Date: Mon, 08 Feb 2016 22:51:26 +0100	[thread overview]
Message-ID: <87io1ykh0h.fsf@linux-m68k.org> (raw)
In-Reply-To: <831t8mgbpi.fsf@echidna.jochen.org> (Jochen Hein's message of "Mon, 08 Feb 2016 21:59:37 +0100")

Jochen Hein <jochen@jochen.org> writes:

> +	(let* ((stream-list
> +		(if (eq nnimap-stream 'gssapi)
> +		    (open-protocol-stream
> +		     "*nnimap*" (current-buffer) nnimap-address
> +		     (nnimap-map-port (car ports)) nnimap-user)
> +		  (open-protocol-stream
> +		   "*nnimap*" (current-buffer) nnimap-address
> +		   (nnimap-map-port (car ports))
> +		   :type nnimap-stream
> +		   :warn-unless-encrypted t
> +		   :return-list t
                   ^^^^^^^^^^^^^^
> +		   :shell-command nnimap-shell-program
> +		   :capability-command "1 CAPABILITY\r\n"
> +		   :always-query-capabilities t
> +		   :end-of-command "\r\n"
> +		   :success " OK "
> +		   :starttls-function
> +		   (lambda (capabilities)
> +		     (when (gnus-string-match-p "STARTTLS" capabilities)
> +		       "1 STARTTLS\r\n")))))
>  	     (stream (car stream-list))
>  	     (props (cdr stream-list))
>  	     (greeting (plist-get props :greeting))
>
> Now I get:
>
> Warning: Opening nnimap server on jochen@jochen.org...failed: ; Unable
> to open server nnimap+jochen@jochen.org due to: Wrong type argument:
> listp, #<process *nnimap*>

You didn't tell open-protocol-stream to return a list.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



  reply	other threads:[~2016-02-08 21:51 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-29 14:35 Florian Weimer
2016-02-06  6:40 ` Lars Ingebrigtsen
2016-02-07 17:16   ` Jochen Hein
2016-02-08  5:23     ` Lars Ingebrigtsen
2016-02-08  9:51       ` Jochen Hein
2016-02-08 20:59       ` Jochen Hein
2016-02-08 21:51         ` Andreas Schwab [this message]
2016-02-08 23:21           ` Jochen Hein
2016-02-08 23:47             ` Andreas Schwab
2016-02-09  6:22               ` Jochen Hein
2016-02-09 20:05                 ` Jochen Hein
2016-02-09 23:31                   ` Lars Ingebrigtsen
2016-02-10  4:16                     ` Jochen Hein
2016-02-10  4:23                       ` Lars Ingebrigtsen
2016-02-10  4:30                       ` Lars Ingebrigtsen
2016-02-10  4:42                         ` Jochen Hein
2016-02-10  4:50                           ` Lars Ingebrigtsen
2016-02-10 21:37                     ` Jochen Hein
2016-02-11 19:51                     ` [PATCH] GSSAPI " Jochen Hein
2016-02-13  6:50                       ` Lars Ingebrigtsen
2016-02-13 10:30                         ` Jochen Hein
2016-02-14  2:25                           ` Lars 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=87io1ykh0h.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=ding@gnus.org \
    --cc=fw@deneb.enyo.de \
    --cc=jochen@jochen.org \
    --cc=larsi@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).