期待您的回复
HOME.


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

期待您的回复


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".