From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/10268 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:55:51 +0100 Message-ID: <60f5gbF1q35orU2@mid.uni-berlin.de> References: <60bi33F1qaegrU1@mid.uni-berlin.de> <60ef22F1pq2j3U1@mid.uni-berlin.de> <60f4qrF1q35orU1@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 1201826435 433 80.91.229.12 (1 Feb 2008 00:40:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2008 00:40:35 +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:56 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 1JKjxe-0006XO-R7 for gegu-info-gnus-english@m.gmane.org; Fri, 01 Feb 2008 01:40:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKjxD-0003ox-Dx for gegu-info-gnus-english@m.gmane.org; Thu, 31 Jan 2008 19:40:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 49 Original-X-Trace: news.uni-berlin.de cLFXpg1EaYY9f7viGunZUg2OsC4hfpx/Gbr8pK+JnkxmhekeY= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50.6 (gnu/linux) Original-Xref: shelby.stanford.edu gnu.emacs.gnus:80480 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:10268 Archived-At: Richard G Riley writes: > 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) > `---- Sorry. I spoke to soon. I am denied access again. I'll look into it some more tomorrow.