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.
# # 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
URL: changi/manual/confexp.html Created: 9 October 1996 Revised: 21 November 1996 Author: harald@os2point.ping.de |