Great Circle Associates Majordomo-Users
(September 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Bridging Majordomo Mailing Lists and Newsgroups
From: Jeffrey Goldberg <J . Goldberg @ cranfield . ac . uk>
Organization: Cranfield University Computer Centre
Date: Tue, 30 Sep 1997 18:11:58 +0100 (BST)
To: Nick Metrowsky <nick . metrowsky @ cusys . edu>
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: <3431054D.7F2703D1@cusys.edu>
Reply-to: Jeffrey Goldberg <J . Goldberg @ Cranfield . ac . uk>

On Tue, 30 Sep 1997, Nick Metrowsky wrote:

> [...] I was
> just asked to see if there is a away for messages going to a majordomo
> mailing list can be sent to a newsgroup and vica-versa.

We've cobbled together a couple of perl scripts that we use for
local newsgroups/mailing lists.  It's not pretty, and the scripts
are not well built.

The basic idea is to have the newsgroup "moderated", but have the
moderator email address go to two things. one to send to the
real list and the other to a script that automatically approves
the news post.

Eg.  We have a moderated newsgroup

  cran.comp.applic.patran and the moderator is

  cran-comp-applic-patran@cranfield.ac.uk

That address has the following

cran-comp-applic-patran-request: "|/usr/info/majordomo/wrapper majordomo -l cran
-comp-applic-patran"
cran-comp-applic-patran: c-c-a-patran-list, c-c-a-patran-post
c-c-a-patran-post: "|/usr/info/news/mail2news/post-approved cran.comp.applic.patran"
c-c-a-patran-list:  "|/usr/info/majordomo/wrapper resend -l cran-comp-applic-patran  cran-comp-applic-patran-outgoing"

post-approved is a very simple script that takes in a mail message,
adds in an Approved: and talks NNTP.

So, this gets things working in both directions with no looping.  It
wouldn't work if we wanted the group to be functionally moderated.

We are using dnews, but there is nothing dnews specific about how this
is done.

-j

--
Jeffrey Goldberg                +44 (0)1234 750 111 x 2826
 Cranfield Computer Centre      FAX         751 814
 J.Goldberg@Cranfield.ac.uk     http://WWW.Cranfield.ac.uk/public/cc/cc047/
Relativism is the triumph of authority over truth, convention over justice.



Follow-Ups:
References:
Indexed By Date Previous: Re: Bridging Majordomo Mailing Lists and Newsgroups
From: Jesse Brown <bextreme@pobox.com>
Next: Re: Moderated list subject lines
From: "Chris 'Floyd' Kreutzer" <kreutzerca20@uwwvax.uww.edu>
Indexed By Thread Previous: Bridging Majordomo Mailing Lists and Newsgroups
From: Nick Metrowsky <nick.metrowsky@cusys.edu>
Next: Majordomo in Swahili?
From: Mitchell Leben <mitch@leben.com>

Google
 
Search Internet Search www.greatcircle.com