Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

texpire(8) [debian man page]

texpire(8)						      System Manager's Manual							texpire(8)

NAME
texpire - delete old news articles and repair leafnode news spool SYNOPSIS
texpire [-v[...]] [-q] [-f] [-h] [-r] DESCRIPTION
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). Don't 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. -q Quiet. Print no messages unless problems occur. Cancels preceding -v options. -r Repair (since v1.9.54). Runs a more thorough yet slower check to detect broken hard links between articles and message.id files. -h Help. Print short usage message and exit with code 0. FILES
See leafnode(8) for the list of files affected. NOTES
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 aren't writable for user "news". BUGS
Texpire may not delete an article as soon as it should in certain circumstances, for instance after backing up or restoring data; eventu- ally it will. Texpire ignores "Expires" headers. Texpire is unable to delete articles in groups which have non-consecutive numbers with huge gaps. Texpire does not delete thread-based, but is only looking at individual articles, although the leafnode documentation of previous versions claimed otherwise. Texpire only removes the innermost empty directory when all articles expire from a group. On the next run, it will remove the parent, which then is empty again, so eventually, empty directories will be deleted after some texpire runs. 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. AUTHOR
Written by Arnt Gulbrandsen <agulbra@troll.no> and copyright 1995 Troll Tech AS, Postboks 6133 Etterstad, 0602 Oslo, Norway, fax +47 22646949. Modified by Cornelius Krasel <krasel@wpxx02.toxi.uni-wuerzburg.de>. Copyright of the modifications 1997-1999. Modified Ralf Wildenhues <ralf.wildenhues@gmx.de>. Copyright of the modifications 2002. Modified by Matthias Andree <matthias.andree@gmx.de>. Copyright of the modifications 2002 - 2004. The archive feature was contributed by Andreas Meininger <a.meininger@gmx.net>. SEE ALSO
tcpd(8), hosts.allow(5), leafnode(8), fetchnews(8), RFC 977. leafnode 1.11.8 texpire(8)

Check Out this Related Man Page

EXPIREOVER(8)						      System Manager's Manual						     EXPIREOVER(8)

NAME
expireover - Expire entries from the news overview database SYNOPSIS
expireover [ -a ] [ -D overviewdir ] [ -f file ] [ -n ] [ -O overview.fmt ] [ -s ] [ -v ] [ -z ] [ file... ] DESCRIPTION
Expireover expires entries from the news overview database. It reads a list of pathnames (relative to the spool directory, /var/spool/news), from the specified files or standard input if none are specified. (A file name of ``-'' may be used to specify the stan- dard input.) It then removes any mention of those articles from the appropriate overview database. OPTIONS
-z If the ``-z'' flag is used, then the input is assumed to be sorted such that all entries for a newsgroup appear together so that it can be purged at once. This flag can be useful when used with the sorted output of expire(8)'s ``-z'' flag. -s If the ``-s'' flag is used, then expireover will read the spool directory for all groups mentioned in the active(5) file, and remove the overview entries of any articles that do not appear in the directory. -f To specify an alternate file, use the ``-f'' flag; a name of ``-'' is taken to mean the standard input. -a The ``-a'' flag reads the spool directory and adds any missing overview entries. It will create files if necessary. This can be used to initialize a database, or to sync up a overview database that may be lacking articles due to a crash. Overchan should be running, to ensure that any incoming articles get included. Using this flag implies the ``-s'' flag; the ``-f'' flag may be used to add only a subset of the newsgroups. -v To see a list of the entries that would be added or deleted, use the ``-v'' flag. -n To perform no real updates, use the ``-n'' flag. -D The ``-D'' flag can be used to specify where the databases are stored. The default directory is /var/spool/news/over.view. -O The ``-O'' flag may be used to specify an alternate location for the overview.fmt(5) file; this is normally only useful for debug- ging. HISTORY
Written by Rob Robertson <rob@violet.berkeley.edu> and Rich $alz <rsalz@uunet.uu.net> (with help from Dave Lawrence <tale@uunet.uu.net>) for InterNetNews. This is revision 1.8, dated 1996/10/29. SEE ALSO
expire(8), overview.fmt(5). EXPIREOVER(8)
Man Page