Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Is there some handy way to expire buy count of msgs
@ 2013-09-20 16:14 Harry Putnam
  0 siblings, 0 replies; only message in thread
From: Harry Putnam @ 2013-09-20 16:14 UTC (permalink / raw)
  To: info-gnus-english

I'd like to be able to total-expire a specific group when it gets to
50,000 messages.

The common way I've been using is by number of days like this:
(setq gnus-parameters
        '(("_ex$"
    (total-expire . t)
    (expiry-wait . 18))
          ("_tr$"
           (total-expire . t)
    (expiry-wait . 90)
          (gnus-visible-headers
           (concat gnus-visible-headers "\\|^X-Spam-Report:.*_FARAWAY_"))
          ("_$"
    (total-expire . t)
    (expiry-wait . 340)))))

My best guess to end up around 50,000 msgs was the last one there to
hold msgs for 340 days.

It was not a good guess, and I'd rather have some way to do it by
number of messages rather than amount of time held. But still, expire
the oldest ones first.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-20 16:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-20 16:14 Is there some handy way to expire buy count of msgs Harry Putnam

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