Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: David Z Maze <dmaze@mit.edu>
Subject: Re: Expire messages in group
Date: Tue, 20 May 2003 16:27:22 -0400	[thread overview]
Message-ID: <87u1bpxt1x.fsf@cag.lcs.mit.edu> (raw)
In-Reply-To: <k7cl3gr4.fsf@dresdner-bank.com>

Christian Schmitt <Christian.Schmitt@dresdner-bank.com> writes:

> I have this one nnmail group that holds messages from a mailing
> list. I haven't (so far) set anything that has to do with
> expiration. Now this group has gotten quite large and I want to delete
> all messages older than let's say 90 days.
>
> How can I talk Gnus into marking all messages older than 90 days as
> expirable and then expire them?

There are a few ways to do this.  First off, you can use the marking
commands to mark existing articles as expirable; '/ d -90' would limit
the buffer to articles older than 90 days, then 'M P b' would mark all
of these articles and 'M-& E' would mark them expirable.

You can use 'G c' from the *Group* buffer to change group parameters.
If it were me, I'd set the group in question to be total-expirable,
with a delay of 90 days; this means that, after 90 days, any article
that's read (not just expirable) will be considered for expiry.  The
alternative is auto-expirable, which marks articles expirable rather
than read when you read them (though you can change them back).

-- 
David Maze             dmaze@mit.edu          http://www.mit.edu/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell


      reply	other threads:[~2003-05-20 20:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-20 13:11 Christian Schmitt
2003-05-20 20:27 ` David Z Maze [this message]

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=87u1bpxt1x.fsf@cag.lcs.mit.edu \
    --to=dmaze@mit.edu \
    /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).