wiki:howto/uucp/cnews

Version 7 (modified by welterde, 9 years ago) (diff)

--

Installation

Debian

aptitude install cnews
# Only up to debian lenny
aptitude install nntp
# Only up to debian etch

Cnews

/etc/news/mailname

Configure the hostname for mail(Make sure it's the same as the one used in the uucp configuration!)

sample_site

/etc/news/whoami

Configure the hostname for news(Make sure it's the same as the one used in the uucp configuration!)

sample_site

/etc/news/sys

Configure a simple outgoing feed.

# Accept everything
ME:all

# run a simple outgoing feed
foo:all,!to/all:f:
foo:to.foo/all:f:

/etc/cron.d/cnews

Default cron configuration.

# process incoming uucp batches
00,15,30,45     *    *   *   *   news   test -f /usr/lib/news/input/newsrun && /usr/lib/news/input/newsrun
# prepare outgoing uucp batches
40              *    *   *   *   news   test -f /usr/lib/news/batch/sendbatches && /usr/lib/news/batch/sendbatches
# searches for indications of problems
05,35           *    *   *   *   news   test -f /usr/lib/news/maint/newswatch && /usr/lib/news/maint/newswatch 3000 300 100