Changi NNTP Server 1.2
[
Bottom of Page |
Previous Page |
Next Page |
Table of Contents |
Index ]
Processing Local Posts
This chapter provides some information about Changi's internal
step by step procedure while receiving a local post.
- Permission check
- Changi will first check, if the posting client has permission
to post articles. This is mainly done by processing nntp_access
and user_access.
- Receiving the article header
- If permission to post is granted, Changi invites the
client to send the complete article. It will read the
header first until an empty line has been received.
All line starting with 'From '
, '>From '
or 'Received: '
are silently discarded.
- Receiving the article body
- Changi expects the article body after the first empty
line. If a signature file has been
defined, Changi will automatically append it at the end of
the article body.
- Quoting check
- If Changi has been called with option -Q
and the posted article reaches the specified number of lines,
it is checked for quoted / new lines ratio. Articles with
more quoted than new lines are rejected.
- Header parsing
- Changi will now parse the header lines. Unknown header items
are kept without check and duplicate items are discarded, except
Approved:
Control:
Distribution:
Followup-To:
From:
Message-ID:
Newsgroups:
NNTP-Posting-Host:
Path:
References:
Reply-To:
Sender:
Subject:
Supersedes:
Duplicate lines of these items are only removed, if they have
exactly the same contents. Otherwise the article is rejected.
- Reject while flushed
- If the server is currently not in running mode, it will reject
the post. This is currently necessary because of its internal
structure. Later versions may allow posting while the server
is flushed.
- Force followup
- If Changi has been called with option -F
and the posted article is crossposted to the specified number of groups
or more, then the article will be rejected, unless it contains
a follow-up header line to one or two groups.
- Group access
- If the article is posted to any group, which has been excluded
from posting in nntp_access, Changi will reject the article.
- Processing local.grep
- If the article has been posted to local.grep, Changi will
start a grep thread in the background and send the client a
message indicating a successful post. In this case processing of
the local post has finished.
- Processing control
- If the posted article is a control message, Changi will
process it.
- Character translation
- If character translation has been enabled, Changi will now
perform the requested translation in the subject header line
and in the body of the message.
- Mail to moderators
- For any newsgroup the article is posted to, Changi will
check, if this is a moderated group and if the article has
been approved. Unapproved articles to moderated groups are
automatically mailed to the moderator.
- Store article
- Article files are created in the local newsbase.
- Distribute article
- At least the article is distributed to other sites,
following the contents of the newsfeeds file.
[
Top of Page |
Previous Page |
Next Page |
Table of Contents ]