badexpiry(8cn)

badexpiry8cn

Find newsgroups with odd use of explicit expiry dates

Usage

badexpiry [mincount minsize]

Overview

Badexpiry reports (on standard output) newsgroups with suspicious patterns of use of explicit expiry dates in articles. Specifically, it reports groups with more than mincount (default 15) articles, more than 90% of all articles, or more than minsize (default 500) KB of articles having explicit expiry dates more than 10 days after their arrival dates.

Such reports are not necessarily indicative of abuses—for example, news.announce.newusers legitimately has most or all of its articles on long expiry—but investigation may be in order.

Files

/var/lib/news/history
/var/spool/news/*/*/...

Releases

10 releases since Debian 1.1 (Buzz); the text changed 1 time.

  1. 1.1–3.0
  2. 3.1–5.0

History

Written for C News by Henry Spencer.

Bugs

The percentage and age thresholds ought to be settable.

From cnews cr.g7-40.4 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.