From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70992 Path: news.gmane.org!not-for-mail From: Knut Anders Hatlen Newsgroups: gmane.emacs.gnus.general Subject: Re: Releasing the new nnimap on y'all soon Date: Sat, 18 Sep 2010 19:33:27 +0200 Message-ID: References: <878w30tiui.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284831245 17267 80.91.229.12 (18 Sep 2010 17:34:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 17:34:05 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19365@lists.math.uh.edu Sat Sep 18 19:34:02 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ox1IY-0001vv-63 for ding-account@gmane.org; Sat, 18 Sep 2010 19:34:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Ox1IJ-0001RB-Ei; Sat, 18 Sep 2010 12:33:47 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Ox1IH-0001Qv-Uj for ding@lists.math.uh.edu; Sat, 18 Sep 2010 12:33:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ox1ID-0003GB-Mc for ding@lists.math.uh.edu; Sat, 18 Sep 2010 12:33:45 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ox1IC-0004TH-00 for ; Sat, 18 Sep 2010 19:33:40 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ox1IA-0001j2-29 for ding@gnus.org; Sat, 18 Sep 2010 19:33:38 +0200 Original-Received: from gw2.mysql.com ([213.136.52.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2010 19:33:38 +0200 Original-Received: from kahatlen by gw2.mysql.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2010 19:33:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: gw2.mysql.com User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (usg-unix-v) Cancel-Lock: sha1:30ZrLjyzXl2gea/zYLaxzxROZDA= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70992 Archived-At: Lars Magne Ingebrigtsen writes: > Dan Christensen writes: > >> Should it be mostly a drop-in replacement? For example, there are two >> IMAP servers I currently access, one using a shell connection and the >> other using a network connection: >> >> (setq imap-shell-program '("ssh %s dovecot --exec-mail imap")) > > This one is not supported. > >> (add-to-list 'gnus-secondary-select-methods >> '(nnimap "jdc" >> (nnimap-address "remote.imap.server") >> ;(nnimap-server-port XXXXX) >> ;(nnimap-authenticator login) >> (nnimap-stream shell) > > Ah, I've forgotten to implement the shell thing for nnimap-stream, so > that won't work. I'll get to it. I saw that you added it back. Thanks! A couple of issues: 1) The old nnimap used (nnimap-stream shell) whereas the new nnimap uses (nnimap-stream stream). Change it back to shell for backwards compatibility? 2) My imap-shell-program is set to dovecot --exec-mail imap, similar to what Dan posted above, only that I run it against local mailboxes and don't need ssh. When I start Gnus, I'm prompted for user name and password, but the session is pre-authenticated, so that shouldn't be needed. After typing user name and password, it just hangs, presumably because the IMAP session starts with PREAUTH and not with the usual OK: $ /usr/sbin/dovecot -c /home/kah/dovecot.conf --exec-mail imap * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in as kah If the session starts with a PREAUTH response, no LOGIN command should be sent, I think. -- Knut Anders