From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53979 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap problem with current cvs Date: Wed, 17 Sep 2003 23:53:22 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87fzivxfkd.fsf@amalthea.paradoxical.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063835622 21202 80.91.224.253 (17 Sep 2003 21:53:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2003 21:53:42 +0000 (UTC) Original-X-From: ding-owner+M2519@lists.math.uh.edu Wed Sep 17 23:53:41 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19zkF3-0002Lw-00 for ; Wed, 17 Sep 2003 23:53:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19zkEv-0002MT-00; Wed, 17 Sep 2003 16:53:33 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 19zkEr-0002MO-00 for ding@lists.math.uh.edu; Wed, 17 Sep 2003 16:53:29 -0500 Original-Received: from yxa.extundo.com (178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by justine.libertine.org (Postfix) with ESMTP id 49C8F3A004F for ; Wed, 17 Sep 2003 16:53:27 -0500 (CDT) Original-Received: from latte.josefsson.org (h96n1c1o299.bredband.skanova.com [217.208.172.96]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h8HLrMdk025712 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Wed, 17 Sep 2003 23:53:23 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030917:ding@gnus.org:a1d00f77cf87edb6 X-Hashcash: 0:030917:ding@gnus.org:a1d00f77cf87edb6 In-Reply-To: <87fzivxfkd.fsf@amalthea.paradoxical.net> (Josh Huber's message of "Wed, 17 Sep 2003 17:36:50 -0400") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53979 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53979 Josh Huber writes: > I'm having this fairly odd problem with IMAP. I'm connecting to a > Cyrus IMAP server (v2.1.x), which is working great. > > After some time (havne't figured out how much yet...), every time I > check for new mail on the server ('g' in *Group*), I see the messages > about negotiating a new STARTTLS session. Sure enough, looking in the > logs, I see this from the imap server: > > Sep 17 17:32:46 hostname cyrus/imapd[14541]: starttls: TLSv1 with > cipher AES256-SHA (256/256 bits new) no authentication > Sep 17 17:32:46 hostname cyrus/imapd[14541]: login: > hostname.domain.net[192.168.0.10] huber CRAM-MD5+TLS User logged in > > Another odd thing about this is, when I look in the server buffer, I > see TWO entries for my imap server. > > Restarting Gnus (as I just did), brings back the old, correct, > behavior. Hitting 'g' in the Group buffer does not open a new > connection, responds very quickly, and there is only one entry for my > imap server in the server buffer. > > Here's what I've got for select methods: > > (setq gnus-secondary-select-methods > '( > ;; private domain.net IMAP server > (nnimap "hostname" > (nnimap-server-address "hostname.domain.net") > (nnimap-stream starttls)) > ;; public IMAP server @ CMU with a bunch of archived lists > (nnimap "cmu" > (nnimap-authenticator anonymous) > (nnimap-list-pattern "archive.*") > (nnimap-stream network) > (nnimap-server-address "cyrus.andrew.cmu.edu")))) > > Any ideas? Anyone else seen this behavior before? Press G e on groups on the starttls server and make sure they either is "nnimap:hostname" or contain the entire select method _exactly_ as typed in .gnus. Perhaps you have some group that uses a old version of the select method, and since Gnus notice that they are different, it opens a new server for it. If you know how to reproduce getting the non-referral (i.e., non-"nnimap:hostname" version) select method in the group buffer, please tell. Gnus should, IMHO, use the "nnimap:hostname" syntax, so you can modify the g-s-s-m without re-subscribing to all groups on the old server. I'm not sure why you don't get this problem on direct startup though.