*BSD News Article 52597


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!chi-news.cic.net!uwm.edu!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ensta!itesec!sidhe.frmug.fr.net!not-for-mail
From: roberto@keltia.Freenix.FR (Ollivier Robert)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: UUCP/NEWS
Date: 11 Oct 1995 15:06:32 GMT
Organization: Herve Schauer Consultants
Lines: 42
Message-ID: <45gmho$kcb@sidhe.hsc-sec.fr>
References: <456e7q$f8q@moon.igcom.net>
Reply-To: roberto@hsc.fr.net (Ollivier Robert)
NNTP-Posting-Host: sidhe.hsc-sec.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <456e7q$f8q@moon.igcom.net>,
David Bauman <david@terra.igcom.net> wrote:
> I have a client that would like to get newsgroups via UUCP.  How do I 
> setup my bsdi system to give those groups to the dial-in uucp client?
> I have email running well with UUCP, but I cant figure out how to get
> the newsgroups to queue for a dial-in uucp. Any suggestions?

To send News to an UUCP site, you first have to batch them. 

1. insert into  your newsfeeds (I assume  IN here, don't  know Cnews except
   that the file is named sys) an entry like the following:

uucp-site\
    :some.groups.*:Tf,Wn:

This says to INN that it  will have to record the  relative pathname of the
articles  (the `n'  of  the Wn parameter)   in a file  (the  `f' of the  Tf
parameter) in a file  named `uucp-site' in  the out.going directory of your
news spool. 

Reload the newsfeeds into INN by

ctlinnd reload newsfeeds 'Add UUCP site uucp-site'

2. you'll  have to batch  the  articles now. For this,  insert  in the news
crontab the following line:

30 * * * * /usr/local/news/bin/sendbatch -c uucp-site

Now,  every 30mn, sendbatch  will take the  articles specified, batch them,
compress them and queue them for the UUCP site uucp-site.

Check the INN FAQ, the INN install guide and newsfeeds(5), sendbatch(1) for
more information. 

The UUCP site should be configured to accept ``rnews'' commands from you of
course.

[ E-mail Cc: to David ]
-- 
Ollivier ROBERT  -=-=-  FreeBSD 2.x FAQ maintainer -=-=-  roberto@freebsd.org
-=-=-=-=-=- Support The Free UNIX Systems !  FreeBSD Linux NetBSD -=-=-=-=-=-