Re: 期待您的回复
HOME.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 期待您的回复


你没有登录,当然没有权限。

参见:
http://worldhello.net/doc/inn_howto/install-inn.html#NNTP-TESThttp://www.worldhello.net/archive/feedback/msg00024.html

listgroup control 
411 No such group control
listgroup cn.comp.book 
211 Article list follows
1
...
21
.
authinfo user johnson 
381 PASS required
authinfo pass mypassword 
281 Ok
listgroup control
211 Article list follows 
.
quit 
205 .
Connection closed by foreign host.


-----Original Message-----
From: Qingtao Huang - 黄青涛 [mailto:qingtao@staff.sina.com.cn] 
Sent: Sunday, July 20, 2003 9:25 PM
To: johnson
Subject: 期待您的回复


johnson,您好!

不好意思,刚才可能给您发了几封相同的邮件,我这边的邮件服务器出了点问题
感谢您给我的帮助!不好意思,还要打扰你!
我现在用户验证已经没问题了,不过不知为什么测试时会访问不了新闻组。

我的active文件内容
control 0000000000 0000000001 n
control.cancel 0000000000 0000000001 n
control.checkgroups 0000000000 0000000001 n
control.newgroup 0000000000 0000000001 n
control.rmgroup 0000000000 0000000001 n
junk 0000000000 0000000001 n
sinamobile 0000000000 0000000001 n
test 0000000000 0000000001 y

我的readers.conf文件内容
auth admin {
        hosts: *
        auth: "ckpasswd -f /usr/local/news/db/userpass"
        default: <FAIL>
        default-domain: <UNKNOWN>
}


auth "localhost" {
    hosts: "localhost, 127.0.0.1, stdin"
    default: "<localhost>"
}


access "localhost" {
    users: "<localhost>"
    newsgroups: "*"
    access: RPA
}

access admin {
        users:  "*@<UNKNOWN>, !<FAIL>@<UNKNOWN>"
        newsgroups: "*,!control.*,!junk,!control"
        access: RP
}

access fail {
        users: "<FAIL>@*"
        newsgroups: !*
}

我的server的ip是202.108.35.143
我测试时使用另一ip的机器telnet的内容为
[news@ ~/etc]$ telnet 202.108.35.143 nntp
Trying 202.108.35.143...
Connected to 202.108.35.143.
Escape character is '^]'.
200 misc.sina.com.cn InterNetNews NNRP server INN 2.4.0 ready (posting ok).
list newsgroups
215 Descriptions in form "group description".