🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #14016

Re: NNTP Posting to moderated groups

#14016
From: Jonathan I. Kamens
Date: Tue, 14 Jan 1997 00:00
51 lines
3178 bytes
(Posted and mailed.)

In article <rwm.853258550@Central.KeyWest.MPGN.COM>, rwm@news.MPGN.COM (Rob Miracle) writes:
|> We are working on a news reader/poster and would like to
|> know (via NNTP) how we determine what address the message
|> gets sent to instead of bouncing it.  Or does INN automatically
|> forward it to the right place?

First of all, yes, if your News server is configured properly (i.e., it
has a correct "moderators" file), nnrpd will automatically forward
any posting it receives via the POST command which is posted to one or
more moderated groups and does not contain an "Approved:" header, to
the moderator of one of the moderated groups.  Therefore, you don't
really have to worry about doing the forwarding in the client if you
don't want to.  I personally prefer to let the NNTP server do the work,
so that's the approach I take in XRN.

However, some News software developers think it's better to mail to the
moderator from the client instead of from the NNTP server, presumably
(i.e., this is my guess; I'm not really sure about it, since like I
said, I prefer the other approach) because the client presumably is
configured properly for mail, whereas the NNTP server may not be
configured to do mail properly.

If you want to do things that way, then you can (with *some* NNTP
servers, including INN) get a list of newsgroup moderators by sending
the "list moderators" command to the NNTP server.  Each line in the
list is a comment (starting with optional whitespace and then '#'), a
blank line, or a line in the format "newsgroup pattern:moderator
address", presumably with optional whitespace legal on either side of
the newsgroup name and moderator address.  The newsgroup pattern is in
INN newsgroup globbing format.  If the moderator address has a "%s" in
it, it should be replaced with the newsgroup name with its periods
replaced by hyphens.  See the samples/moderators file in the INN
distribution for more information.  You're supposed to use the first
line in the list whose pattern matches the group to whose moderator you
are submitting.

Note that not all NNTP servers support the "list moderators" command. 
Therefore, for the highest degree of portability, your News client
should fall back on submitting the article to the NNTP server if it
can't get a list of moderators to post directly.

But like I said, I prefer submitting the article to the NNTP server in
all cases.

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

Technical Details
Message-ID: <5bgqbg$lem$1@pad-thai.cam.ov.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <rwm.853258550@Central.KeyWest.MPGN.COM>

Show Full Headers
Complete Article Headers
Message-ID: <5bgqbg$lem$1@pad-thai.cam.ov.com>
Subject: Re: NNTP Posting to moderated groups
Date: Tue, 14 Jan 1997 00:00:00 +0000
From: jik@cam.ov.com (Jonathan I. Kamens)
References: <rwm.853258550@Central.KeyWest.MPGN.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 209961554
Distribution: inet
To: rwm@news.MPGN.COM (Rob Miracle)
Cc: jik
Organization: OpenVision Technologies, Inc.
Newsgroups: news.software.nntp