Delete old news articles and repair leafnode news spool
Usage
texpire [-v
[]]
[-q]
[-f]
[-h]
[-r]
Overview
Leafnode is a USENET package intended for small sites, where there are few users and little disk space, but where a large number of groups is desired.
Texpire is the program which deletes old articles from the local news spool and repairs most problems of the news spool. It can restore broken hard links, re-sort message.id links into the right directories (necessary when the spool has been moved to a different path) and update overview data. It can not repair loss of @spooldir@/news/group/* files.
Archive feature: If a groupexpire parameter is set to -1 for a particular group (or pattern), texpire will skip this (these) groups.
Options
-v
Be verbose. A maximum of four -v can be used (the more v, the more verbose). Do not expect all the output to make sense. Cancels preceding -q options.
-f
Force expire. Expire will be made regardless of the access time of the file. Especially useful if you regularly backup your news spool or do other things to it where you open files in there.
Texpire sets its real and effective uid to "news" (if it can), because almost all of the problems I have had with leafnode are due to files which are not writable for user "news".
Environment
LN_LOCK_TIMEOUT
This variable is parsed as an unsigned integer value and determines how many seconds texpire will wait when trying to obtain the lock file from another leafnode program. 0 means to wait indefinitely. This variable takes precedence over the configuration file.
Releases
16 releases since Debian 1.3 (Bo); the text changed 10 times.