7. /etc/news目录下还有很多设定档,如果我们不需要特殊的设定,可以采用默认的设定,所以这里不再详细说明.
8. 检查设定档是否正确:
# /usr/lib/news/bin/inncheck -v
Looking at /var/lib/news/active...
Looking at /etc/news/control.ctl...
Looking at /etc/news/expire.ctl...
Looking at /etc/news/incoming.conf...
Looking at /etc/news/inn.conf...
Looking at /etc/news/moderators...
Looking at /etc/news/newsfeeds...
ME, controlchan!, done.
Looking at /etc/news/nntpsend.ctl...
Looking at /etc/news/overview.fmt...
Looking at /etc/news/passwd.nntp...
Looking at /etc/news/readers.conf...
如果其中某个文件属性设定有问题可以根据提示进行修改。
9. 新增新闻群组:
#service innd restart --------->在新增群组之前最好运行一下此命令,使刚才的所作的修改生效,并确保INND服务在启动状态。
#/usr/lib/news/bin/ctlinnd newgroup linux --------->新增一个名为linux的群组.
也可以在/var/lib/news/active中增加所需新闻组:
control 0000000000 0000000001 y
control.cancel 0000000000 0000000001 n
control.checkgroups 0000000000 0000000001 n
control.newgroup 0000000000 0000000001 n
control.rmgroup 0000000000 0000000001 n
junk 0000000000 0000000001 n
linux.command 0000000001 0000000001 y
linux.X 0000000000 0000000001 y
linux.virtualiztion 0000000000 0000000001 y
linux.network 0000000000 0000000001 y
linux 0000000001 0000000001 y
y: 代表此群组允许在本机发信件
n: 代表此群组不允许在本机发信件,但允许在远端机器发信件
m: 代表此群组是管制群组
j: 代表发出的信件在本机不备份
x: 代表不允许发信件
Linux 下NEWS Server(INN)架设全过程(2)
内容版权声明:除非注明,否则皆为本站原创文章。