Provided by: leafnode_1.11.4-2ubuntu1_i386
applyfilter - apply filter settings to news spool
applyfilter [-v] ... newsgroup
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
Applyfilter is the program to apply filter settings to your newsspool,
particularly after changes that were not in effect at the time the
articles were downloaded with fetchnews. Applyfilter is used if you
want to remove postings from your spool matching a certain filter
pattern (see FILES below). If the headers of an article match any of
the filtering rules, the article is being deleted from the newsgroup.
Applyfilter sets its real and effective uid to "news".
-v Be verbose.
is the newsgroup you want to apply the filter to.
A file the patch of which is defined with the filterfile option of
/etc/news/leafnode/filters contains the set of filtering rules that are
applied to the newsspool. Each rule must be on a separate line. Empty
lines and comments (marked by a # at the beginning of the line) are
Each rule is a regular expression. For example, the following set of
rulings will delete all crosspostings to alt.flame.
^Newsgroups: indicates that the pattern should only be applied to the
Newsgroups: header. After the header, an arbitrary number of characters
may follow, ending in either a comma or a space. After that, alt.flame
must be in the line, either at the end of the line (first entry) or in
the middle of the line, followed by other newsgroups (second entry).
This variable is parsed as an unsigned integer value and
determines how many seconds applyfilter will wait when trying to
obtain the lock file from another leafnode program. 0 means to
wait indefinitely. This variable takes precedence over the
Written by Cornelius Krasel <email@example.com>.
Updated by Matthias Andree <firstname.lastname@example.org>. Copyright 2002 -
Leafnode was originally written by Arnt Gulbrandsen <email@example.com>
and is copyright 1995-96 Troll Tech AS, Postboks 6133 Etterstad, 0602
Oslo, Norway, fax +47 22646949.
leafnode(8), fetchnews(8), texpire(8).