From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58107 Path: main.gmane.org!not-for-mail From: Chris Shenton Newsgroups: gmane.emacs.gnus.general Subject: nnimap: temporarily disable a server? Date: Mon, 12 Jul 2004 17:14:13 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: <86658t0vyy.fsf@PECTOPAH.shenton.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1089666969 9857 80.91.224.253 (12 Jul 2004 21:16:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Jul 2004 21:16:09 +0000 (UTC) Original-X-From: ding-owner+M6648@lists.math.uh.edu Mon Jul 12 23:16:00 2004 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 1Bk89X-0005dt-00 for ; Mon, 12 Jul 2004 23:16:00 +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 1Bk885-0003Ga-00; Mon, 12 Jul 2004 16:14:29 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Bk87w-0003GS-00 for ding@lists.math.uh.edu; Mon, 12 Jul 2004 16:14:20 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Bk87v-00077O-Br for ding@lists.math.uh.edu; Mon, 12 Jul 2004 16:14:19 -0500 Original-Received: from Shenton.org (23.ebbed1.client.atlantech.net [209.190.235.35]) by justine.libertine.org (Postfix) with SMTP id D05B83A0043 for ; Mon, 12 Jul 2004 16:14:16 -0500 (CDT) Original-Received: (qmail 41614 invoked by uid 1001); 12 Jul 2004 21:14:14 -0000 Original-To: ding@gnus.org User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58107 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58107 [Gnus from CVS late last week, behavior seen in all old versions too] In my Gnus at work, I've defined two IMAP servers: the work one (NewHorse), and my home server (PECTOPAH): (setq gnus-secondary-select-methods '( (nnml "") ;pop, files (nnimap "NewHorse" (nnimap-address "newhorse.example.com") (nnimap-stream ssl) ; sniff exchange for probe. ) (nnimap "PECTOPAH" (nnimap-address "shenton.org") ;2004-01-22 only IMAPS gets thru (nnimap-stream ssl) ) ) ) Most of the time at work, I don't want it to connect to my house -- connection and scanning for new mail takes too much time. So I prevent it from connecting by not listing the home server's password in the .authinfo file. When Gnus tries to connect to it (per the select methods above) it asks for my password; I hit ^G and answer "yes, treat it as offline" (what does it do if I say "no"?). The *Server* buffer then looks like: {nnml:archive} (opened) {nnimap:PECTOPAH} (denied) {nnimap:NewHorse} (opened) (agent) {nnml:} (opened) Is there a way of configuring the server select-methods such that it simply doesn't try to connect to one server or another? Ideally, it would not connect, but the *Server* buffer would know about it and allow me to "open" it (with appropriate login info of course). I can't find anything in the Gnus *info* on IMAP that sounds like this. Got any clues? Thanks.