Changi NNTP Server 1.0

[ Bottom of Page | Previous Page | Next Page | Table of Contents ]

expire.conf

This optional file is used to apply different expiration times to articles of different groups. Upon startup, Expire will try to locate this file in CHANGIWORKDIR, unless otherwise specified by option -c or the CHANGIEXPIRECONF environment variable.

Each line in this file consists of three fields separated by spaces. Empty lines as well as lines containing descriptive comments are accepted. Comment lines should be marked with character # in the first column. All other lines must be given in the following format:

grouplist minkeep maxkeep
grouplist
This field is a comma separated list of newsgroup patterns, to which the following expiration times will apply.

minkeep
This field specifies the minimum time to keep any article. This is the normal age at which an article expires. Even if an article contains an explicit expiration date in its header, it will be kept for at least this time period.
maxkeep
The third field defines the maximum time to keep any article. This parameter is used to get rid of articles with an explicit expiration date too far in the future. You should specify a very long period, about two to three months, so you don't accidently destroy periodical postings with long update delays.
To define time values for minkeep and maxkeep, you may simply give a number, which will be interpreted as the number of days you want to keep articles. Furthermore you may add a single letter representing one of these a units:
  • h hours
  • d days (default)
  • w weeks
  • Combinations like 1d12h are possible, which means one and a half day.

    Note, that the sequence of entries is important too. Lines at the end of the file may override previous definitions.


    [ Top of Page | Previous Page | Next Page | Table of Contents ]


    URL: changi/manual/expconf.html
    Created: 9 October 1996
    Revised: 21 November 1996
    Author: harald@os2point.ping.de