[comp.sys.next] Piping mailing lists into local newsgroups

jacob@gore.com (Jacob Gore) (06/06/90)

Some people have asked me how to gateway mail into a local newsgroup.

This depends on what news software you are running, and on what MTA (Mail
Transfer Agent) you are using.  At most sites, these are News B 2.11 (or
News C) and sendmail, respectively.  For me, they are Notes 2.9 (HP
strand), and MMDF.  If you have the same configuration as I, I can tell
you exactly how to do it (ask me by e-mail).

In general, this is what you need to do:

1.  Check your news software for utility program 'recnews' (if you have
'nrecnews', that's even better) (Notes sites may have 'recnotes').  If it's
not called 'nrecnews', you may want to look around the various berkeley.edu
ftp archives for the latest version of Erik Fair's 'nrecnews' and install
it on your system.  (HP-strand Notes users should try my 'recnotes' from
2.9, which is based on 'nrecnews'.)

2.  Create a newsgroup for the mailing list (for example,
"list.sys.next.programmer").  Make it moderated, the moderator's address
being the submission address for the mailing list
("next-prog@cpac.washington.edu").

3.  Create a system-wide mail alias that pipes mail into your recnews
program.  For example, if you are using sendmail, put the following line
into /etc/sendmail/aliases:

  next-prog: "|/usr/news/lib/nrecnews -n list.sys.next.programmer -o ''"

and run 'newaliases'.  (The "-o ''" is used to tell nrecnews that it is
gatewaying, and thus should accept messages with no "Subject:" line.)

4.  Send a test message to this alias ("next-prog"), it should get posted.

5.  Send mail to the list's control address -- "listname-request" or
"listserv", whichever is applicable -- (for example,
"next-prog-request@cpac.washington.edu"), requesting that the alias you set
up in step 3 ("next-prog@your.site.name") be added to the list.

Jacob
--
Jacob Gore		Jacob@Gore.Com			boulder!gore!jacob