From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18349 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.user Subject: Re: Suppressing unavailable imap server by default Date: Thu, 22 Sep 2016 10:25:26 +0800 Message-ID: <87wpi4fz6x.fsf@ericabrahamsen.net> References: <87fuotz7lh.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1474511176 6475 195.159.176.226 (22 Sep 2016 02:26:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2016 02:26:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Sep 22 04:26:10 2016 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmti3-00089v-1f for gegu-info-gnus-english@m.gmane.org; Thu, 22 Sep 2016 04:25:59 +0200 Original-Received: from localhost ([::1]:43968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmti1-00084v-7K for gegu-info-gnus-english@m.gmane.org; Wed, 21 Sep 2016 22:25:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmthv-00084g-Or for info-gnus-english@gnu.org; Wed, 21 Sep 2016 22:25:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmthp-0002tB-Sk for info-gnus-english@gnu.org; Wed, 21 Sep 2016 22:25:50 -0400 Original-Received: from [195.159.176.226] (port=49356 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmthp-0002s7-Ld for info-gnus-english@gnu.org; Wed, 21 Sep 2016 22:25:45 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bmthi-00061K-DO for info-gnus-english@gnu.org; Thu, 22 Sep 2016 04:25:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:LDkV1ZBVvc1j/QovXzm3frxsAWI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18349 Archived-At: Michael Albinus writes: > Hi, > > maybe it is a known technique, but even after RTFM I couldn't find it ... > > I have configured an imap server which is reachable only sometimes (when > I have entered the company's lan). Connecting it via gnus takes always > ~2 min, until there is a timeout, and the server is ignored ("denied" in > the *Server* buffer). > > How could I change my configuration, that this timeout is reduced? Or > that prior to connecting the server via imap there is a check, whether > the server is reachable? > > Extra bonus if I could configure it such a way that I don't need to > confirm that the server isn't reachable. > > Thanks, and best regards, Michael. I think what people do is to make sure all the groups belonging to that server are set at a fairly high level, and then, when starting Gnus and checking for news, only check at a lower level. I have wrapper functions that call (gnus 4) and (gnus-group-get-new-news 4), and set less interesting servers at level 5. What I think would be preferable would be if a server status of "closed" persisted between Gnus restarts. Then you could just leave it closed, and open it manually when you decide you want to check news. Eric