Thread View: news.software.nntp
3 messages
3 total messages
Started by Philippe Khalife
Sun, 09 Jun 1996 00:00
Software for newsgroup Moderating... ?
Author: Philippe Khalife
Date: Sun, 09 Jun 1996 00:00
Date: Sun, 09 Jun 1996 00:00
18 lines
1259 bytes
1259 bytes
I've set a couple of news servers but never had to do any newgroup moderation. I'm looking for some software ( Unix && Windows ) being either an email or news reader that allows to add the Approved: line in the header of a message, thus making it possible to moderate a newsgroup. I've read both ( the relevant parts ) RFC 1036 : Standard for Interchange of USENET Messages How to construct the Mailpaths file ( moderators file for INND ) FAQ and neither of these can help. I appreciate your help Philippe Khalife P.S. Cc me if you post to the newsgroup :)
Re: Software for newsgroup Moderating... ?
Author: David Stoner
Date: Wed, 12 Jun 1996 00:00
Date: Wed, 12 Jun 1996 00:00
98 lines
3428 bytes
3428 bytes
Philippe Khalife (jupiter@resudox.net) wrote:
: I've set a couple of news servers but never had to do any
: newgroup moderation. I'm looking for some software ( Unix && Windows )
: being either an email or news reader that allows to add the Approved:
: line in the header of a message, thus making it possible to moderate a
: newsgroup.
: I've read both ( the relevant parts )
: RFC 1036 : Standard for Interchange of USENET Messages
: How to construct the Mailpaths file ( moderators file for INND ) FAQ
: and neither of these can help.
: I appreciate your help
: Philippe Khalife
: P.S. Cc me if you post to the newsgroup :)
For some reason it's hard to find out anything about this. You'd think
there would be something in a FAQ file somewhere.
Here's an arrangement I've tinkered together. Suppose the official
moderator for a newsgroup has a published e-mail address
group-mod@atlantis.utmb.edu. Then the moderator can receive mail
at that address and, using an ordinary mail user agent such as
mailx or Pine, edit it and forward it to another account called,
for example, group-post@atlantis.utmb.edu, which is set up as
follows:
The .forward file for account group-post looks like this:
"| /bin/sh /usr4/group-post/bing "
This causes sendmail to route incoming mail to a script called bing,
which might look something like this:
#!/bin/sh
nawk '
BEGIN {
subj = "Subject: none"
from = "From: anonymous"
group = "Newsgroups: utmb.misc.test.moderated"
approved = "Approved: group-mod@atlantis.utmb.edu"
body = 0
}
$1 == "Subject:" { subj = $0 }
$1 == "From:" { from = $0 }
$0 == "" {
print from
print subj
print group
print approved
print
while ( getline )
print $0
body = 1
exit
}
END {
if ( ! body )
{
print from
print subj
print group
print approved
print
}
}
' | /usr4/news/inews -h -R
Here, inews is the inews utility distributed with INN, and probably
available independently. Shell environment variables may need to be
set up so that inews knows what server to connect to in order to post
an article.
The above script is barely adequate. You'd probably want to beef
it up to reject mail from anyone other than the moderator, preserve
more headers, etc. You could enlarge the awk program to perform
robo-moderation if you like. In other words, this is just a
skeleton you can elaborate on in any way you wish.
Note that the moderator, group-post, and the news server can be all
on the same machine or on three different machines. I don't think
the server has to be INN; since inews connects and talks to it using
NNTP, it can be any server that observes protocol.
Hope this helps.
-David
Re: Software for newsgroup Moderating... ?
Author: Tim Pierce
Date: Thu, 13 Jun 1996 00:00
Date: Thu, 13 Jun 1996 00:00
49 lines
2617 bytes
2617 bytes
In article <4pl2fo$8mv@atlantis.utmb.edu>,
David Stoner <dstoner@marlin.utmb.edu> wrote:
>For some reason it's hard to find out anything about this. You'd think
>there would be something in a FAQ file somewhere.
You'd think, wouldn't you? Maybe the next revision of the
Anarchist's Handbook will include a chapter on this.
>Here's an arrangement I've tinkered together. Suppose the official
>moderator for a newsgroup has a published e-mail address
>group-mod@atlantis.utmb.edu. Then the moderator can receive mail
>at that address and, using an ordinary mail user agent such as
>mailx or Pine, edit it and forward it to another account called,
>for example, group-post@atlantis.utmb.edu, which is set up as
>follows:
This must be one of the most roundabout methods of newsgroup
moderation I've ever seen. If you're the sole moderator of a
group, you know, you can always just *post* the damn thing.
>#!/bin/sh
>nawk '
>BEGIN {
> subj = "Subject: none"
I hate those noisy Subject lines, too. Reduce bandwidth today!
> from = "From: anonymous"
Ditto From headers with long, clunky e-mail addresses. They're so
hard to remember! I wish fewer people included them in their
posts.
> group = "Newsgroups: utmb.misc.test.moderated"
> approved = "Approved: group-mod@atlantis.utmb.edu"
Out of curiosity, why not put an actual e-mail address in the
Approved header? Do you just not want anyone to know who's
responsible for approving messages with default subjects of "none"
and From headers of "anonymous?"
--
By sending unsolicited commercially-oriented e-mail to this address, the
sender agrees to pay a $100 flat fee to the recipient for proofreading
services.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads