From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45644 Path: main.gmane.org!not-for-mail From: Joseph Barillari Newsgroups: gmane.emacs.gnus.general Subject: Salvaging Gcc when IMAP fails Date: 11 Jul 2002 09:24:54 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1026393950 5747 127.0.0.1 (11 Jul 2002 13:25:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2002 13:25:50 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Sdx8-0001UZ-00 for ; Thu, 11 Jul 2002 15:25:50 +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 17Sdwe-0002Gk-00; Thu, 11 Jul 2002 08:25:20 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 11 Jul 2002 08:25:43 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id IAA29019 for ; Thu, 11 Jul 2002 08:25:32 -0500 (CDT) Original-Received: (qmail 12174 invoked by alias); 11 Jul 2002 13:25:04 -0000 Original-Received: (qmail 12169 invoked from network); 11 Jul 2002 13:25:04 -0000 Original-Received: from ns1.research.bell-labs.com (HELO dirty.research.bell-labs.com) (204.178.16.6) by gnus.org with SMTP; 11 Jul 2002 13:25:04 -0000 Original-Received: from grubby.research.bell-labs.com (H-135-104-2-9.research.bell-labs.com [135.104.2.9]) by dirty.research.bell-labs.com (8.12.2/8.12.2) with ESMTP id g6BDO16R071834 for ; Thu, 11 Jul 2002 09:24:01 -0400 (EDT) Original-Received: from nslocum.cs.bell-labs.com (nslocum.cs.bell-labs.com [135.104.8.38]) by grubby.research.bell-labs.com (8.11.6/8.11.6) with ESMTP id g6BDOto38332 for ; Thu, 11 Jul 2002 09:24:56 -0400 (EDT) Original-Received: from JBARILLA-T23.research.bell-labs.com (jbarilla-t23.research.bell-labs.com [135.104.52.53]) by nslocum.cs.bell-labs.com (8.12.2/8.12.2) with ESMTP id g6BDOtjq80350077 for ; Thu, 11 Jul 2002 09:24:55 -0400 (EDT) Original-To: ding@gnus.org Original-Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45644 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45644 Occasionally, my at-work Gnus installation (5.9.0/GNU Emacs 21.2.1 for Windows) drops its IMAP connection[0] during a session. This isn't a big deal when I'm checking mail; I just hit `g' again when I receive the error message, and Gnus merrily reconnects. But when I'm sending a message, it's more of an irritation. My installation Gcc's messages into an IMAP folder. If the connection drops before I send a message, I get the following error: Sending... error in process filter: imap-parse-response: Internal error, tag 284 status BAD code nil text Server in unknown state for SELECT command error in process filter: Internal error, tag 284 status BAD code nil text Server in unknown state for SELECT command imap-send-command-1: Process imap not running The message is sent via SMTP, but it isn't Gcc'd. Is there any way to force the Gcc code to retry if the IMAP connection is broken on the first attempt? Failing that, is there a command to save the buffer of a just-sent message in a given mailbox? Thanks in advance. --Joe [0] The IMAP server could be breaking the connection due to my inactivity, I haven't traced the initiator of the break. I'm running IMAP over SSL, if that makes a difference.