Changi NNTP Server 1.0

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

Changi Environment
Specifying File Names

The following environment variables may be set to override file name defaults:

CHANGIACTIVEFILE
CHANGIACTIVETIMES
CHANGICHARTRANFILE
CHANGIDISTRIBUTIONSFILE
CHANGIEXPIRECONF
CHANGIEXPIREPIDFILE
CHANGIEXPIRESUMMARY
CHANGIEXPIREZAPFILE
CHANGIGROUPDISTRIBFILE
CHANGIHISTORY
CHANGIHOSTACCESSFILE
CHANGIMAILPATHSFILE
CHANGINEWSFEEDSFILE
CHANGINEWSGROUPSFILE
CHANGIOVERVIEWFMTFILE
CHANGIPIDFILE
CHANGISEQF
CHANGISIGNFILE
CHANGISUBSCRIPTIONFILE
CHANGIUSERACCESSFILE
CHANXFILTERFILE
CHANXPIDFILE

If no absolute pathname is specified, CHANGIWORKDIR is prepended.


CHANGIACTIVEFILE

Set CHANGIACTIVEFILE to the pathname of your active file, if it is not CHANGIWORKDIR\active.

Example:

SET CHANGIACTIVEFILE=C:\UUCP\ACTIVE

CHANGIACTIVETIMES

Set CHANGIACTIVETIMES to the pathname of your active.timesfile, if it is not CHANGIWORKDIR\active.times.

Example:

SET CHANGIACTIVETIMES=C:\CHANGI\active.times

CHANGICHARTRANFILE

Set CHANGICHARTRANFILE to the name of your character translation file to switch on character translation.

Example:

SET CHANGICHARTRANFILE=ctran.dat

CHANGICTRLACCESSFILE

Set CHANGICTRLACCESSFILE to the full pathname of your control access file, if it is not CHANGIWORKDIR\ctrl_access.

Example:

SET CHANGICTRLACCESSFILE=R:\secret\ctrl_access

CHANGIDISTRIBUTIONSFILE

Set CHANGIDISTRIBUTIONSFILE to the name of your distribution area description file. This file is currently not used by Changi, but will be send to a client upon request.

Example:

SET CHANGIDISTRIBUTIONSFILE=distributions

CHANGIEXPIRECONF

Defines the name of your expire configuration file. By default Expire will look for CHANGIWORKDIR\expire.conf and, if this file doesn't exists, apply the same expiration time to all groups. However, if this variable has been set, expire will terminate with an error, if it can't read the specified file.

Example:

SET CHANGIEXPIRECONF=cfg\expire.conf

CHANGIEXPIREPIDFILE

Set CHANGIEXPIREPIDFILE to specify the pid file to be used by Expire, if it is not CHANGIWORKDIR\expire.pid.

Example:

SET CHANGIEXPIREPIDFILE=C:\mptn\etc\expire.pid

CHANGIEXPIRESUMMARY

By default Expire will look for a file named expire.sum in directory CHANGIWORKDIR. If the file exists, Expire will add a line containing summary values at the end of this file when successfully completed. Setting CHANGIEXPIRESUMMARY will force the creation of this file and may also be used to define a different pathname.

See expire.sum on how to interpret the contents of this file.

Example:

SET CHANGIEXPIRESUMMARY=statistics\expire.sum

CHANGIEXPIREZAPFILE

If this environment variable is set, Expire will not directly delete outdated articles, but will add a delete command to the specified file.

Example:

SET CHANGIEXPIREZAPFILE=delarts.cmd

CHANGIGROUPDISTRIBFILE

If Changi locates a file named group.distrib in the directory specified by CHANGIWORKDIR, it will use this file to apply fixed distribution headers to incoming posts.

Set CHANGIGROUPDISTRIBFILE to define a different pathname for this file.

Example:

SET CHANGIGROUPDISTRIBFILE=c:\etc\group.distrib

CHANGIHISTORY

Set CHANGIHISTORY to the pathname of your history file, if it is not CHANGIWORKDIR\history. Note that the file extension .pag for the data file and .idx for the index file will be added by Changi.

Example:

SET CHANGIHISTORY=C:\UUCP\NEWS\HISTORY
With this setting Changi will look for the article history in C:\UUPC\NEWS\HISTORY.PAG and C:\UUPC\NEWS\HISTORY.IDX.

CHANGIHOSTACCESSFILE

Set CHANGIHOSTACCESSFILE to the full pathname of your host access file, if it is not CHANGIWORKDIR\nntp_access.

Example:

SET CHANGIHOSTACCESSFILE=R:\secret\nntp_access

CHANGIMAILPATHSFILE

Set CHANGIMAILPATHSFILE to the full pathname of your mailpaths file, if it is not CHANGIWORKDIR\mailpaths.

Example:

SET CHANGIMAILPATHSFILE=R:\secret\mailpaths

CHANGINEWSFEEDSFILE

Set CHANGINEWSFEEDSFILE to the full pathname of your newsfeeds file, if it is not CHANGIWORKDIR\newsfeeds.

Example:

SET CHANGINEWSFEEDSFILE=C:\mptn\etc\newsfeeds

CHANGINEWSGROUPSFILE

Set CHANGINEWSGROUPSFILE to the full pathname of your newsgroups description file, if it is not CHANGIWORKDIR\newsgroups.

Example:

SET CHANGINEWSGROUPSFILE=C:\UUCP\NEWSGROUPS

CHANGIOVERVIEWFMTFILE

Set CHANGIOVERVIEWFMTFILE to the full pathname of your overview format file, if it is not CHANGIWORKDIR\overview.fmt.

Example:

SET CHANGIOVERVIEWFMTFILE=C:\changi\myover.fmt

CHANGIPIDFILE

Set CHANGIPIDFILE to the full pathname of your server pid file, if it is not CHANGIWORKDIR\changi.pid.

Example:

SET CHANGIPIDFILE=C:\mptn\etc\changi.pid

CHANGISEQF

Set CHANGISEQF to the full pathname of your job sequence file, if it is not CHANGIWORKDIR\SEQF.

Example:

SET CHANGISEQF=C:\uucp\SEQF

CHANGISIGNFILE

Set CHANGISIGNFILE to the name of your default signature file.

Example:

SET CHANGISIGNFILE=C:\CHANGI\signature.ping

CHANGISUBSCRIPTIONFILE

The specified file will be sent to the client, if the server is queried for a subscription list. Note that this feature is used for compatibility with other newssystems.

Example:

SET CHANGISUBSCRIPTIONFILE=C:\CHANGI\sys

CHANGIUSERACCESSFILE

Set CHANGIUSERACCESSFILE to the full pathname of your user access file, if it is not CHANGIWORKDIR\user_access.

Example:

SET CHANGIUSERACCESSFILE=R:\secret\user_access

CHANXFILTERFILE

By default Chanx reads a file named filter.cf in CHANGIWORKDIR for article filtering. Set CHANXFILTERFILE to specify a different pathname.

If the specified file doesn't exist, Chanx will not filter articles.

Example:

SET CHANXFILTERFILE=R:\changi\filter\spam.filter

CHANXPIDFILE

Set CHANXPIDFILE to specify the pid file to be used by Chanx, if it is not CHANGIWORKDIR\chanx.pid.

Example:

SET CHANXPIDFILE=C:\mptn\etc\chanx2.pid


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


URL: changi/manual/envifile.html
Created: 27 August 1996
Revised: 13 December 1996
Author: harald@os2point.ping.de