MOUNT can be applied to NNTP-DeleGate, for filtering and aliasing of
newsgroups, and for merging multiple NNTP severs.
For example,
MOUNT="alias-group. nntp://server/group."
specifies to passing newsgroups "group.*" and aliases
them into "alias-group.*".
A simple filtering specification is
SERVER="nntp://server/group."
which is equivalent to
MOUNT="= nntp://server/group.".
If multiple MOUNT for multiple NNTP servers, then the DeleGate
merges the newsgroups on the servers, and serves the newsgroups
to a client as if they are on a single server.
relays only newsgroups which have name pattern "group.*".
A list of groups can be specified for a nntpServer like
"nntp://nntpServer/group1.,group2.,..."
// mounts groups of group.* with it original names. MOUNT="= nntp://server1/group."
// mounts groups of group.* with aliased names "alias-group.*" MOUNT="alias-group. nntp://server1/group."
Specifying "-.-" as the destination server in SERVER parameter of
NNTP-DeleGate means using the DeleGate as an origin NNTP server
which has its own spools to be retrieved and posted.
To make a new newsgroup named newsGroup,
make an empty file
'${ETCDIR}/news/groups/newsGroup'
To relay an existing "/path/of/MH-folder" as newsGroup,
make a file like above and fill it with content like
0 0 0 0 /path/of/MH-folder
(four zeros followed by a path name of a MH-folder)
When a posted article has Unix-From like "From userdate"
as the first line or has a "Unix-From: userdate" header,
the article number for the article is set to the one indicated in
"X-Seqno" (or "X-Sequence") header if exists,
and the creation date of the spool file will be set to the date
in the Unix-From.
This "rewaddr" MountOption can be used in MOUNT parameter both for NNTP
and HTTP DeleGate.
To suppress the rewriting of mail addresses for specific addresses or domains,
specify "nomapemail" option of NNTPCONF like this:
Anonymization can be controlled by the poster of each article via
a NNTP/HTTP gateway DeleGate. For example, a DeleGate server for NNTP/HTTP
gateway can be configured like this:
An authentication key for each poster is required to control anonymization.
The key can be sent automatically via mail, or got with "-Fauthkey" command:
delegated -Fauthkey foo@bar.dom
Each key is encrypted with a passphrase, of which default value is an empty
string. It should be changed to a non-default value with the AUTH=pass
parameter for each DeleGate server or -Fauthkey command: