From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39419 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: how to delete a recalcitrant message in an IMAP mail group? Date: Thu, 18 Oct 2001 21:40:25 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175125 27743 80.91.224.250 (21 Oct 2002 04:38:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:38:45 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 6342 invoked from network); 18 Oct 2001 19:42:02 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 18 Oct 2001 19:42:02 -0000 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 15uJ2l-0004db-00; Thu, 18 Oct 2001 14:41:27 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 18 Oct 2001 14:41:04 -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 OAA09102 for ; Thu, 18 Oct 2001 14:40:52 -0500 (CDT) Original-Received: (qmail 6301 invoked by alias); 18 Oct 2001 19:41:09 -0000 Original-Received: (qmail 6296 invoked from network); 18 Oct 2001 19:41:09 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 18 Oct 2001 19:41:09 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.1/8.12.1) with ESMTP id f9IJfFHB004093; Thu, 18 Oct 2001 21:41:15 +0200 Original-To: palmieri@math.washington.edu (John H. Palmieri) In-Reply-To: (palmieri@math.washington.edu's message of "Wed, 17 Oct 2001 15:14:05 -0700") Mail-Copies-To: nobody Original-Lines: 37 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39419 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39419 palmieri@math.washington.edu (John H. Palmieri) writes: > I'm using gnus and nnimap to read my mail, and I'm having a small > problem. Gnus goes to my mail server, gets my mail, and then splits > it into various mail groups, storing the mail from each group in a > file on the local machine. So how do you access the mail on your local machine? Are you running a IMAP server on your local machine? And Gnus writes to files which the IMAP server reads? Maybe the IMAP server doesn't like this, I believe the UoW server does not like non-c-client programs to write to mailboxes it maintains. > One of those files has a fairly old message in it, one which should > have been expired, but wasn't. When I enter that group and try to > view all the old messages (C-u RET, then respond appropriately when > it asks how many messages I want to retrieve), it takes a long time > to open, and when it does, that old message is not visible, so I > can't mark it for expiry or delete it. > > Can I edit the actual mail file and just delete the offending message? > Can I tell gnus to regenerate some database for that group? How can I > get rid of this message? > > (The relevant mail group happens to be for the gnus mailing list, so > as much as I cherish all of your messages, if I have to delete the > whole thing and start over, it won't be a disaster. I'm not even sure > how to do that the right way, though.) This depends on the backend used, but if it is nnimap (and you've checked that your IMAP server doesn't have a problem with Gnus writing to its files) maybe you could C-k the group, quit Gnus remove the NOV cache and restart Gnus, then it should surely "work". Of course, it would be good to find a reproducable way to get into the broken state so we can prevent it from happening (save `G p' and NOV cache and copy the stuff back to debug things).