Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: how to delete a recalcitrant message in an IMAP mail group?
Date: Thu, 18 Oct 2001 21:40:25 +0200	[thread overview]
Message-ID: <ilur8s091p2.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <s5t1yk1lxsi.fsf@goedel2.math.washington.edu> (palmieri@math.washington.edu's message of "Wed, 17 Oct 2001 15:14:05 -0700")

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




  parent reply	other threads:[~2001-10-18 19:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-17 22:14 John H. Palmieri
2001-10-18  7:15 ` Kai Großjohann
2001-10-18 16:54   ` John H. Palmieri
2001-10-18 18:19     ` Kai Großjohann
2001-10-18 19:07       ` John H. Palmieri
2001-10-18 19:16         ` ShengHuo ZHU
2001-10-18 19:40 ` Simon Josefsson [this message]
2001-10-19 21:33 ` fixed (was Re: how to delete a recalcitrant message in an IMAP mail group?) John H. Palmieri

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=ilur8s091p2.fsf@barbar.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.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).