From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51326 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap, sll and timeouts Date: Sat, 12 Apr 2003 18:04:04 +0200 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 1050163464 28594 80.91.224.249 (12 Apr 2003 16:04:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 12 Apr 2003 16:04:24 +0000 (UTC) Cc: ding@gnus.org Original-X-From: owner-ding@hpc.uh.edu Sat Apr 12 18:04:21 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 194NUL-0007R1-00 for ; Sat, 12 Apr 2003 18:04:21 +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 194NUT-0006zM-00; Sat, 12 Apr 2003 11:04:29 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 12 Apr 2003 11:05:33 -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 LAA16299 for ; Sat, 12 Apr 2003 11:05:20 -0500 (CDT) Original-Received: (qmail 31393 invoked by alias); 12 Apr 2003 16:04:10 -0000 Original-Received: (qmail 31387 invoked from network); 12 Apr 2003 16:04:10 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 12 Apr 2003 16:04:10 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h3CG44XK023001 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 12 Apr 2003 18:04:05 +0200 Original-To: replies@Frank-Schmitt.net Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030412:replies@Frank-Schmitt.net:fe7ff026fb8b7be7 X-Hashcash: 0:030412:replies@Frank-Schmitt.net:fe7ff026fb8b7be7 X-Payment: hashcash 1.2 0:030412:ding@gnus.org:f56505c597d5c5e4 X-Hashcash: 0:030412:ding@gnus.org:f56505c597d5c5e4 In-Reply-To: <7ny92ibkal.fsf@slayer.templeofhate.com> (Frank Schmitt's message of "Thu, 10 Apr 2003 14:37:22 +0200") User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:51326 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51326 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). > > 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 .-)) Why is the ssl connection still open? Shouldn't it notice that the remote server died and abort? Investigating why that doesn't happen, and whether it is a bug or intended behaviour would be useful. You could also try installing GnuTLS and change nnimap-stream to tls. Making sure the TLS setting works smooth is probably better than spending time on the SSL stuff.