Changi NNTP Server 1.0

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

Configuring Article Expiration

By default, Expire will remove all articles received seven or more days ago. Depending on your available diskspace, the traffic in certain newsgroups and on your interest in these groups you may want to apply different expiration periods to different newsgroups.

To do this, You must create a file named expire.conf in the directory specified by CHANGIWORKDIR. The program will automatically use it, if it finds it.

Each line in this simple textfile should contain three space separated fields. The first field defines a comma separated list of newsgroup patterns and the other two fields define the minimum and maximum time period to keep articles in those groups.

The minimum time is the same, which may be set globaly for all newsgroups by Expire option -e. The maximum time to keep an article is the absolute deadline. Even if an explicit expiration date in the article's header states a later expiration, the article will be removed.

To define a time value, 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 to specify the number of hours, days (the default) or weeks.

Example

#
# Sample expire.conf
#

# First entry specifies the default.
* 1w 90

# This second entry keep os2 related groups a bit longer
*os2* 2w3d 90

# Junk, control and grep-ed articles will be removed soon
junk,control*,local.grep* 12h 12h

# Keep a few local groups for a long period
ping* 4w 90

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


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