Changi NNTP Server 1.0

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

Changi Environment
Specifying Article Header Modifications

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

CHANGIDISTRIBUTION
CHANGIHEADERDUMMY
CHANGIMIMEENCODING
CHANGIMIMETYPE
CHANGIMIMEVERSION
CHANGINEWSMASTER
CHANGIORGANIZATION
CHANGIPATHHOST
CHANGIPATHMASTER


CHANGIDISTRIBUTION

If this variable is set, Changi will add or override the distribution header of each local post with the specified value.

Example:

SET CHANGIDISTRIBUTION=local
This will mark all local posts for local distribution only.


CHANGIHEADERDUMMY

Defining this variable is discouraged. By default, Changi will use an empty string in case of missing items in the overview files. Setting CHANGIHEADERDUMMY may break some newsreaders and is made available for backward compatibility only.

Example:

SET CHANGIHEADERDUMMY=(none)

CHANGIMIMEENCODING

If this environment variable is present, Changi will add a content type header to each post.

Example:

SET CHANGIMIMEENCODING=7bit

CHANGIMIMETYPE

If this environment variable is present, Changi will add a mime type header to each post.

Example:

SET CHANGIMIMETYPE=TEXT/PLAIN; charset=US-ASCII

CHANGIMIMEVERSION

If this environment variable is present, Changi will add a mime version header to each post.

Example:

SET CHANGIMIMEVERSION=1.0

CHANGINEWSMASTER

This parameter is currently unused.

CHANGIORGANIZATION

If this variable is set, Changi will add or override the organization header of each local post with the specified value.

Example:

SET CHANGIORGANIZATION=Ping eV

CHANGIPATHHOST

The value specified by CHANGIPATHHOST is used for two purposes. First, Changi will reject articles containing the name of the given host. Second, Changi will prepend this hostname to each article it receives.

By default, Changi queries the HOSTNAME environment variable to build or check the path header of each incoming article.

Example:

SET CHANGIPATHHOST=news.ping.de

CHANGIPATHMASTER

If an incoming articles doesn't have a path header, Changi will automatically add this line. By default the user name of the created bang path will be not-for-mail. You may specify a different name by setting CHANGIPATHMASTER.

Example:

SET CHANGIPATHMASTER=harald


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


URL: changi/manual/enviheader.html
Created: 3 August 1996
Revised: 21 November 1996
Author: harald@os2point.ping.de