From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86799 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: gssapi authentication for nnimap Date: Mon, 08 Feb 2016 22:51:26 +0100 Message-ID: <87io1ykh0h.fsf@linux-m68k.org> References: <87oaecan6t.fsf@mid.deneb.enyo.de> <87d1sanxyx.fsf@gnus.org> <83a8ncfnkc.fsf@echidna.jochen.org> <8737t3g4hk.fsf@gnus.org> <831t8mgbpi.fsf@echidna.jochen.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454968332 841 80.91.229.3 (8 Feb 2016 21:52:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 21:52:12 +0000 (UTC) Cc: ding@gnus.org, Lars Ingebrigtsen , Florian Weimer To: Jochen Hein Original-X-From: ding-owner+M35024@lists.math.uh.edu Mon Feb 08 22:52:00 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aStix-0003WJ-Jl for ding-account@gmane.org; Mon, 08 Feb 2016 22:51:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aStic-0005Q6-8k; Mon, 08 Feb 2016 15:51:38 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aStiZ-0005Pa-36 for ding@lists.math.uh.edu; Mon, 08 Feb 2016 15:51:35 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aStiX-000864-U8 for ding@lists.math.uh.edu; Mon, 08 Feb 2016 15:51:34 -0600 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by quimby.gnus.org with esmtps (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aStiW-0003xA-3S; Mon, 08 Feb 2016 22:51:32 +0100 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3pzgzP1Jjmz3hj2H; Mon, 8 Feb 2016 22:51:29 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3pzgzP06Szzvh1y; Mon, 8 Feb 2016 22:51:28 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id oiYtEWW5AxwG; Mon, 8 Feb 2016 22:51:26 +0100 (CET) X-Auth-Info: rrhqvdrxGQy4rxUxEL2xJupxB1e60K7mKEkyHFeck3pMN1vErdVeUMZQjx4mTmQ/ Original-Received: from igel.home (ppp-88-217-23-217.dynamic.mnet-online.de [88.217.23.217]) by mail.mnet-online.de (Postfix) with ESMTPA; Mon, 8 Feb 2016 22:51:26 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 87D992C2D13; Mon, 8 Feb 2016 22:51:26 +0100 (CET) X-Yow: Oh, FISH sticks, CHEEZ WHIZ, GIN fizz, SHOW BIZ!! In-Reply-To: <831t8mgbpi.fsf@echidna.jochen.org> (Jochen Hein's message of "Mon, 08 Feb 2016 21:59:37 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86799 Archived-At: Jochen Hein 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, # 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."