nntp.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 08 Apr 2009 18:04:45 +0300
changeset 76 1c987d547bf1
child 298 c170134ac5a7
permissions -rw-r--r--
Using inn2.

-*- outline -*-

* Installing.

** Debian.

  $ sudo apt-get install inn2
  $ cat /etc/news/inn.conf
...
mta:                    "/usr/sbin/exim4 -oi -oem %s"
organization:           "My HOME nntp"
pathhost:               my.org.int
domain:                 org.int
maxartsize:             10000
maxconnections:         10
...
  $ cat /etc/news/readers.conf
...
auth bifit {
     hosts: "*.org.int, 192.168.1.0/24"
     default: "<LOCAL>"
}
access bifit {
    users: "<LOCAL>"
    newsgroups: "comp.*"
    access: RP
}
...
  $ sudo /etc/init.d/inn2 reload
  $ sudo ctlinnd newgroup comp.general y gavenko@org.int
  $ sudo ctlinnd newgroup comp.general.lang y gavenko@org.int

* FAQ

** innd: SERVER cant listen RCreader Address already in use

You need disable IPv6, temporary this done by:

  $ su
...
  # echo 1 > /proc/sys/net/ipv6/bindv6only