homepage: http://www.isc.org/inn.html
过程 31.1. innd
debian 安装
sudo apt-get install inn2
配置
inn.conf
cd /etc/news/ chown news.news inn.conf domain: example.org server: localhost fromhost: news.example.org moderatormailer: openunix@163.com
storage.conf
vi storage.conf
method tradspool {
newsgroups: *
class: 0
}
readers.conf
vi readers.conf
auth "local" {
hosts: "*"
default: "*"
}
access "local" {
users: "*"
newsgroups: "*"
}
start
/etc/init.d/innd start
service innd start Starting INND system: [ OK ]
sudo ufw allow nntp
过程 31.2. Authinfo
ckpasswd
chown root /usr/lib/news/bin/auth/passwd/ckpasswd chmod 4555 /usr/lib/news/bin/auth/passwd/ckpasswd
shadow auth
$ sudo vim /etc/news/readers.conf
auth local {
auth: "ckpasswd -s"
}
access local {
users: "neo"
newsgroups: "*,!junk,!control,!control.*"
}
passwd file
auth local {
auth: "ckpasswd -f /etc/news/newsusers"
}
access local {
users: "neo"
newsgroups: "*,!junk,!control,!control.*"
}
dbm,ndbm
auth: "ckpasswd -d /etc/news/newsusers.ndbm"