Changi NNTP Server 1.0
[
Bottom of Page |
Previous Page |
Next Page |
Table of Contents ]
Recognized Header Lines
Each news article consists of several header lines, followed
by a blank line, and optionally followed by the body of the message.
Each header line consist of a keyword, followed a colon, followed
by a blank, and, at least, followed by a specific value.
Some headers are required while others are optional or not accepted.
Unrecognized headers are passed through without being checked
or modified.
Date:
This line contains the posting date of the article. It is required
with articles being transfered from remote servers. Changi tries
to recognize the given date and time. In case of local posts, Changi
will create this line under the following circumstances:
- The line is missing.
- The given values couldn't be successfully parsed.
- The article is posted at least 24 hours in the future.
Date: lines created by Changi do always contain GMT
in the following fixed format:
Wdy, DD Mon YY HH:MM:SS GMT
From:
This line is required and contains the mail address and, optionally,
the real name of the person who posted the message. Changi will reject
articles without or with a bad From: line.
The following formats are accepted:
From: harald@os2point.ping.de
From: harald@os2point.ping.de (Harald Kipp)
From: Harald Kipp
Message-ID:
This line is required for articles received from remote servers.
The id must start with and open angle bracket and must end with
a closed one. Spaces within the brackets are not allowed.
If this line is missing in locally posted articles, it will be
created by Changi, based on the version number of the program,
the current time, a sequence number, and the fully qualified domain
name of the local host.
Newsgroups:
Changi will reject articles without this line, which is passed through
unchanged.
Path:
The intension of this line is to show the route the message
traveled to reach the local host. If Changi locates the name
of the local host within this path, it will assume, that it
has seen the message before and will reject it. Articles
transmitted from remote servers without a Path:
line will be rejected too.
Changi will add the name of the local host in front of the
list of hosts, separated by an exclamation mark. In case of
local posts Changi will create this line in the following
format:
local.host.name!not-for-mail
The name of the local host used in the Path: line may be
explicitly specified by setting
CHANGIPATHHOST, while
the default string not-for-mail
may be changed
by setting CHANGIPATHMASTER.
Reply-To:
This optional line is passed through without change.
Sender:
The intention of this line is to record the host or person responsible
for injecting the article into the net and will be created or
overridden by Changi for each locally posted article in the
following format:
user@host.and.domain
If user authentication is switched on, Changi will use the name
of the logged-in user-id. Otherwise the user's name is taken
out of the From: line. The host name part will be taken
from the host running the connected client.
Subject:
This line is required. Changi will not accept articles without
it.
If this line starts with cmsg
followed by a space,
Changi will interpret the rest of the line as a control message.
If character translation is enabled, then
this line will be converted.
[
Top of Page |
Previous Page |
Next Page |
Table of Contents ]
URL: changi/manual/serveropt.html
Created: 2 December 1996
Revised: 2 December 1996
Author: harald@os2point.ping.de
|