nntp.rst
changeset 76 1c987d547bf1
child 298 c170134ac5a7
equal deleted inserted replaced
75:56267560b7d5 76:1c987d547bf1
       
     1 -*- outline -*-
       
     2 
       
     3 * Installing.
       
     4 
       
     5 ** Debian.
       
     6 
       
     7   $ sudo apt-get install inn2
       
     8   $ cat /etc/news/inn.conf
       
     9 ...
       
    10 mta:                    "/usr/sbin/exim4 -oi -oem %s"
       
    11 organization:           "My HOME nntp"
       
    12 pathhost:               my.org.int
       
    13 domain:                 org.int
       
    14 maxartsize:             10000
       
    15 maxconnections:         10
       
    16 ...
       
    17   $ cat /etc/news/readers.conf
       
    18 ...
       
    19 auth bifit {
       
    20      hosts: "*.org.int, 192.168.1.0/24"
       
    21      default: "<LOCAL>"
       
    22 }
       
    23 access bifit {
       
    24     users: "<LOCAL>"
       
    25     newsgroups: "comp.*"
       
    26     access: RP
       
    27 }
       
    28 ...
       
    29   $ sudo /etc/init.d/inn2 reload
       
    30   $ sudo ctlinnd newgroup comp.general y gavenko@org.int
       
    31   $ sudo ctlinnd newgroup comp.general.lang y gavenko@org.int
       
    32 
       
    33 * FAQ
       
    34 
       
    35 ** innd: SERVER cant listen RCreader Address already in use
       
    36 
       
    37 You need disable IPv6, temporary this done by:
       
    38 
       
    39   $ su
       
    40 ...
       
    41   # echo 1 > /proc/sys/net/ipv6/bindv6only