Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Richard G Riley <rileyrgdev@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: IMAP closing connection after inactivity
Date: Fri, 01 Feb 2008 00:55:51 +0100	[thread overview]
Message-ID: <60f5gbF1q35orU2@mid.uni-berlin.de> (raw)
In-Reply-To: <60f4qrF1q35orU1@mid.uni-berlin.de>

Richard G Riley <rileyrgdev@gmail.com> writes:

> 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)
> `----

Sorry. I spoke to soon. I am denied access again. I'll look into it some
more tomorrow.

  reply	other threads:[~2008-01-31 23:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30 15:06 Richard G Riley
2008-01-31  7:53 ` Gour
2008-01-31 17:32 ` Richard G Riley
2008-01-31 18:56   ` Gour
2008-01-31 19:27   ` Reiner Steib
2008-01-31 20:33     ` Gour
2008-01-31 21:37       ` Reiner Steib
2008-02-01  6:35         ` Gour
2008-02-01  8:17           ` Gour
2008-02-01  9:42             ` Gour
2008-02-02  5:59               ` Richard G Riley
2008-02-02  7:43                 ` Gour
2008-02-04  3:29                   ` Richard G Riley
2008-02-04 19:11                     ` Gour
2008-02-04 19:18                       ` Richard G Riley
2008-02-06 21:15                         ` Richard G Riley
2008-02-05 16:44                       ` Allen S. Rout
2008-01-31 23:44     ` Richard G Riley
2008-01-31 23:55       ` Richard G Riley [this message]
2008-03-03  9:49         ` Gour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60f5gbF1q35orU2@mid.uni-berlin.de \
    --to=rileyrgdev@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).