[news.sysadmin] posting news from systems in a LAN environment

whna@cgch.UUCP (Heinz Naef) (10/30/87)

We are looking for a transparent (and reliably working) solution for
posting news from every system (workstation or file server) in a LAN.
 - There is only one of the file servers (call it "mailhost") connected
   to the USENET backbone, therefore, is using uucp/uux transport.
 - News $SPOOLDIR and $LIBDIR are NFS-mounted on each system (reading news
   is no problem).
Any attempt to post news from a system other than the "mailhost" fails
because the final "uux - -r -z <backbone>!rnews" fails (with code 68).
Any ideas how we could arrange for postnews (and other inews mechanisms)
from each system without changing the inews' or other sources?
Thanks for any comments, hints and tips.
Heinz Naef, c/o CIBA-GEIGY AG, R-1032.5.62, P.O.Box, CH-4002 Basel, Switzerland
uucp: cgch!whna

mumble%karl@tut.cis.ohio-state.edu.UUCP (11/02/87)

whna@cgch.UUCP writes:
   We are looking for a transparent (and reliably working) solution for
   posting news from every system (workstation or file server) in a LAN.
   ...
   Any ideas how we could arrange for postnews (and other inews mechanisms)
   from each system without changing the inews' or other sources?

Sure thing: Install the fake NNTP inews on the clients which NFS-mount
/usr/lib/news and /usr/spool/news.  We do it here, and it's really
very nice.  Existence proof: I'm sitting in front of a Sun3,
NFS-served by a nice fast Pyramid 98x upstairs, reading news in GNU
Emacs' rnews mode, writing this in a *post-news* buffer, which will
(call-process-region "inews" "-h") when I type C-c C-c.

Detail:
[1] Have NFS clients mount /usr/lib/news and /usr/spool/news from the
    NFS server.
[2] Install in.nntpd on the NFS server in order to react to
    NNTP-posting requests from the clients.
[3] mkdir /usr/lib/newsbin everywhere, both server and clients.
[4] On the NFS server, put inews in /usr/lib/newsbin and symlink
    /usr/lib/news/inews to /usr/lib/newsbin/inews.
[5] On the NFS clients, put the NNTP inews in /usr/lib/newsbin.

You're done.  Note that local interpretations of the nature of the
symlink originating at /usr/lib/news/inews and what's really there in
the respective systems' /usr/lib/newsbin will take care of itself.
-=-
Karl