info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IMAP closing connection after inactivity


From: Richard G Riley
Subject: Re: IMAP closing connection after inactivity
Date: Fri, 01 Feb 2008 00:44:24 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50.6 (gnu/linux)

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Thu, Jan 31 2008, Richard G Riley wrote:
>
>> Richard G Riley <rileyrgdev@gmail.com> 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
> <http://thread.gmane.org/8763y7e1ji.fsf@photon.caeruleus.net>?  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)
`----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]