From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/10269 Path: news.gmane.org!not-for-mail From: Richard G Riley Newsgroups: gmane.emacs.gnus.user Subject: Re: IMAP closing connection after inactivity Date: Fri, 01 Feb 2008 00:44:24 +0100 Message-ID: <60f4qrF1q35orU1@mid.uni-berlin.de> References: <60bi33F1qaegrU1@mid.uni-berlin.de> <60ef22F1pq2j3U1@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 1201826436 438 80.91.229.12 (1 Feb 2008 00:40:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2008 00:40:36 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Feb 01 01:40:57 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 1JKjxb-0006WP-Bm for gegu-info-gnus-english@m.gmane.org; Fri, 01 Feb 2008 01:40:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKjx9-0003lr-QS for gegu-info-gnus-english@m.gmane.org; Thu, 31 Jan 2008 19:40:23 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 45 Original-X-Trace: news.uni-berlin.de 1usSu5sHfx9CP3UA+SW2bwdSxFLB86L+45wXrCb0/KgfUBz20= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50.6 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.gnus:80479 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:10269 Archived-At: Reiner Steib writes: > On Thu, Jan 31 2008, Richard G Riley wrote: > >> 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? > > Is your problem the same as described in the thread > ? Does > the patch suggested there (already included in current cvs) solve the > problem? > > Bye, Reiner. Hi Reiner, It solved the problem, thanks. Q: why didn't this solve the problem? (I'm not a lisp programmer but it seemed to be the right idea and the function was certainly polled every 10 minutes) ,---- | (setq myimapserver "nnimap:myimapserver") | | (defun keepmailserverawake () | (gnus-demon-scan-mail) | (message "Mail scanned from the Gnus demon at %s" (current-time-string)) | ) | | (require 'gnus-demon) | (setq gnus-use-demon t) | (gnus-demon-add-handler 'keepmailserverawake 10 nil) | (gnus-demon-init) `----