From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51308 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap, sll and timeouts Date: Thu, 10 Apr 2003 18:24:16 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: <7ny92ibkal.fsf@slayer.templeofhate.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050017135 14373 80.91.224.249 (10 Apr 2003 23:25:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2003 23:25:35 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Fri Apr 11 01:25:33 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 193lQD-0003je-00 for ; Fri, 11 Apr 2003 01:25:33 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 193lPP-0008Uy-00; Thu, 10 Apr 2003 18:24:43 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 10 Apr 2003 18:25:49 -0500 (CDT) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [64.157.176.121]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id SAA11664 for ; Thu, 10 Apr 2003 18:25:37 -0500 (CDT) Original-Received: (qmail 24020 invoked by alias); 10 Apr 2003 23:24:27 -0000 Original-Received: (qmail 24015 invoked from network); 10 Apr 2003 23:24:26 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 10 Apr 2003 23:24:26 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 193lTl-0005MO-00 for ; Fri, 11 Apr 2003 01:29:13 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 29 Original-NNTP-Posting-Host: manchester-suites-iaf1047853.cust-rtr.ameritech.net Original-X-Trace: quimby.gnus.org 1050017353 20607 68.23.64.46 (10 Apr 2003 23:29:13 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 10 Apr 2003 23:29:13 GMT User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (windows-nt) Cancel-Lock: sha1:Q0qGuhEyBwn+m2yhuiD/clRQpqI= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:51308 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51308 Frank Schmitt writes: > Hello > > I've got the following problem: Im using nnimap via ssl with the > following config: > > (add-to-list 'gnus-secondary-select-methods > '(nnimap "" (nnimap-address "mail.host.net")(nnimap-stream ssl))) > > My problem is that after some time, the remote server drops the > connection but Gnus doesn't recognize this (probably because the ssl > connection is still open). The status of the socket will not update until you actually try to do I/O on it. > So if I want to check for new mail, I've got to change to server buffer, > close connection and reopen it. > > Any clever solution for my problem? I guess more people than just me run > into it. (At least one guy at #mygnus at irc.my.gnus.org does .-)) Some nntp servers have similar problems (i.e. they drop idle connections). You might want to look at nntp-with-open-group. Of course, even if it is what you need, you'll have quite a bit of work ahead to incorporate it into nnimap. Kevin