[net.news] Gatewaying mailing lists into news

david@ukma.UUCP (David Herron, NPR Lover) (10/03/85)

How is this done?

Obviously the following things will be part of the task:

1) Mailing list gets directed to an alias which is piped to a program.
2) Said program examines the header(s) and uses fields from the header
   to cronstruct a news article.

Some unresolved questions are:

1) Which fields need to be copied?
2) How does one make sure that replys, original postings, and followups 
   work properly?

For 1), you obviously copy From:, Subject:, construct Path: from From:, etc.
But how does Posting-Version get generated?  Is that the Version of
my site?  Or should I say "Mailing-List <x>"?

But that's trivial.  2) is more difficult.  I had understood from
the List of Moderators that there was a mechanism whereby postings
to mod groups can be routed back to the moderator.  I would like to
use this handle postings to the groups which will contain the gatewayed
articles.  But I've glanced around in the sources (albeit for 2.10.3,
not 2.10.2 as referenced by Spaf) and haven't found where this is
being done for ANY postings.  postnews.c just looks in the active
file and if the fourth field is 'n' then says "sorry, you can't post
there, please send your article to the moderator".  And in main() of
inews.c (Which I've checked for 2.10.2 and 2.10.3) there's this if() 
towards the end which checks to see if the article is in a mod.all and 
prevents one from posting to mod.groups.

And, the documentation for 2.10.2 doesn't SAY how to make this mechanism
whereby postings can get automatically routed to the moderator.

Can somebody point the way?

Oh, my reason for wanting to do this?  Simple.  We want to cut out
large parts of our phone bill by recieving some of the newsgroups
directly from their arpa-net counterparts as mailing lists and route
them into our news for convenient reading.  (Using our BITNET link).
Of course, I won't gateway them into their normal groups, that would
be silly.  I'll gateway them into special groups.  (i.e. uk.fa.<something>)

-- 
David Herron, ukma!david@ANL-MCS.ARPA, cbosgd!ukma!david
(Soon -- david@UKMA.BITNET, and (hopefully) david@ukma.csnet)

Hackin's in me blood!  My mother was known as Miss Hacker before she married!