Reiner Steib <[EMAIL PROTECTED]> writes:

> On Thu, Jan 31 2008, Richard G Riley wrote:
>
>> Richard G Riley <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED]>?  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)
`----

_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to