1texpire(8) System Manager's Manual texpire(8)
2
3
4
6 texpire - delete old news articles and repair leafnode news spool
7
8
10 texpire [-v[...]] [-q] [-f] [-h] [-r]
11
12
14 Leafnode is a USENET package intended for small sites, where there are
15 few users and little disk space, but where a large number of groups is
16 desired.
17
18 Texpire is the program which deletes old articles from the local news
19 spool and repairs most problems of the news spool. It can restore bro‐
20 ken hard links, re-sort message.id links into the right directories
21 (necessary when the spool has been moved to a different path) and
22 update overview data. It can not repair loss of @spooldir@/news/group/*
23 files.
24
25 Archive feature: If a groupexpire parameter is set to -1 for a particu‐
26 lar group (or pattern), texpire will skip this (these) groups.
27
28
30 -v Be verbose. A maximum of four -v can be used (the more v, the
31 more verbose). Don't expect all the output to make sense. Can‐
32 cels preceding -q options.
33
34 -f Force expire. Expire will be made regardless of the access time
35 of the file. Especially useful if you regularly backup your
36 news spool or do other things to it where you open files in
37 there.
38
39 -q Quiet. Print no messages unless problems occur. Cancels preced‐
40 ing -v options.
41
42 -r Repair (since v1.9.54). Runs a more thorough yet slower check to
43 detect broken hard links between articles and message.id files.
44
45 -h Help. Print short usage message and exit with code 0.
46
47
49 See leafnode(8) for the list of files affected.
50
51
53 Texpire sets its real and effective uid to "news" (if it can), because
54 almost all of the problems I have had with leafnode are due to files
55 which aren't writable for user "news".
56
57
59 Texpire may not delete an article as soon as it should in certain cir‐
60 cumstances, for instance after backing up or restoring data; eventually
61 it will.
62
63 Texpire ignores "Expires" headers.
64
65 Texpire is unable to delete articles in groups which have non-consecu‐
66 tive numbers with huge gaps.
67
68 Texpire does not delete thread-based, but is only looking at individual
69 articles, although the leafnode documentation of previous versions
70 claimed otherwise.
71
72 Texpire only removes the innermost empty directory when all articles
73 expire from a group. On the next run, it will remove the parent, which
74 then is empty again, so eventually, empty directories will be deleted
75 after some texpire runs.
76
77
79 LN_LOCK_TIMEOUT
80 This variable is parsed as an unsigned integer value and deter‐
81 mines how many seconds texpire will wait when trying to obtain
82 the lock file from another leafnode program. 0 means to wait
83 indefinitely. This variable takes precedence over the configura‐
84 tion file.
85
86
88 Written by Arnt Gulbrandsen <agulbra@troll.no> and copyright 1995 Troll
89 Tech AS, Postboks 6133 Etterstad, 0602 Oslo, Norway, fax +47 22646949.
90
91 Modified by Cornelius Krasel <krasel@wpxx02.toxi.uni-wuerzburg.de>.
92 Copyright of the modifications 1997 – 1999.
93
94 Modified Ralf Wildenhues <ralf.wildenhues@gmx.de>. Copyright of the
95 modifications 2002.
96
97 Modified by Matthias Andree <matthias.andree@gmx.de>. Copyright of the
98 modifications 2002 – 2004.
99
100 The archive feature was contributed by Andreas Meininger
101 <a.meininger@gmx.net>.
102
103
105 tcpd(8), hosts.allow(5), leafnode(8), fetchnews(8), RFC 977.
106
107
108
109leafnode 1.11.11 texpire(8)