From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/10251 Path: news.gmane.org!not-for-mail From: Richard G Riley Newsgroups: gmane.emacs.gnus.user Subject: Re: IMAP closing connection after inactivity Date: Thu, 31 Jan 2008 18:32:45 +0100 Message-ID: <60ef22F1pq2j3U1@mid.uni-berlin.de> References: <60bi33F1qaegrU1@mid.uni-berlin.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201801257 10202 80.91.229.12 (31 Jan 2008 17:40:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jan 2008 17:40:57 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Jan 31 18:41:17 2008 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JKdPG-0003IM-0e for gegu-info-gnus-english@m.gmane.org; Thu, 31 Jan 2008 18:40:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKdOo-0004jZ-M4 for gegu-info-gnus-english@m.gmane.org; Thu, 31 Jan 2008 12:40:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feeder.news-service.com!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 41 Original-X-Trace: news.uni-berlin.de I+g1E3RFwNgjYFRYbOWlvw65+Rdp1u7S7BZ/dusEC49BA+X74= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50.6 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.gnus:80462 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:10251 Archived-At: Richard G Riley writes: > I have the same problem as the article I link and reproduce below. Is > there a way to get Gnus to keep an IMAP session open without using a > daemon to check for all new messages regularly? > > http://osdir.com/ml/emacs.gnus.user/2006-02/msg00133.html > I received a reply (below) on the Dovecot mailing list. Could anyone here suggest a Gnus fix? ,---- | [[PGP Signed Part:Timo Sirainen | Untrusted, Fingerprint: E643 F0BD FDCD 04D9 FFCB 6279 C948 5251 4055 8AC9]] | On Thu, 2008-01-31 at 17:51 +0100, Richard G Riley wrote: | > Could someone suggest what the solution here is? Dovecot is terminating | > the connection to Gnus after a certain period of activity. It's my own | > mail server so no need to worry about "hogging resources". Should/could | > Dovecot be configured to keep the connection alive, or should Gnus be | > programmed to automatically reopen the conneection? The current problem | > that one can not leave an IMAP group if the connection is cut by the | > server. | .. | > | "dovecot: 2008-01-31 08:50:38Info: IMAP(gour): Disconnected for | > | inactivity" | | I'd say this is a Gnus bug. If an IMAP client wants the connection to | stay open, it should send something at least every 29 mins. Most (if not | all) IMAP servers disconnect connections after 30 minutes of idling. | This is hardcoded in Dovecot, but you can of course change it: | | src/imap/common.h: | #define CLIENT_IDLE_TIMEOUT (60*30) | | [[End of PGP Signed Part]] `----