Ken Murchison
Sun, 27 Feb 2005 07:17:53 -0800
kael wrote:
On 24.02.2005 15:36, Ken Murchison wrote:
The newsspool option is deprecated and not needed.
I have managed imapd.conf like this:
partition-default: /var/spool/imap partition-news: /var/spool/imap/news altnamespace: yes newspeer: news-in.newsfeeds.com:119 news-out.newsfeeds.com:119 unixhierarchysep: yes newsprefix: Usenet
Have you created the "Usenet.comp.mail.imap" mailbox on your "news" partition (/var/spool/imap/news) and given at least the "anonymous" user the "p" right? You probably want to grant your newsgroups "anyone lrsp".
localhost.localdomain> cm Usenet/comp.mail.imap localhost.localdomain> sam Usenet/comp.mail.imap anyone lrsp
Since you have enabled unixhierarchysep, you should create
Usenet/comp/mail/imap
This is the IMAP name of the mailbox.
Is the 'p' right necessary ? I don't want to deliver posting access to Usenet.
Have you told your news provider to send you articles?
Yes. The articles seem to be delivered:
$ tcpdump
02:13:48.015469 IP news-out.newsfeeds.com.4435 > snip.fbx.proxad.net.nntp: . ack 160 win 64909 ... 02:15:09.501562 IP news-out.newsfeeds.com.4435 > snip.fbx.proxad.net.nntp: . ack 1374 win 65163 ... 02:22:37.082797 snip.fbx.proxad.net.nntp > news-out.newsfeeds.com.4976: P 5644:5746(102) ack 112942 win 32767
And my peer's asking to let the feed out - I hope the 'newspeer' option in imapd.conf is enough for this purpose.
Do you have a local NNTP client that can access your Cyrus server and LIST newsgroups and POST articles (you can do this with nntptest if you know how to use NNTP manually)? If not, you need to fix this before worrying about accepting articles from the outside.
[root@ ]# /usr/bin/nntptest -p 119 -u cyrus WARNING: no hostname supplied, assuming localhost
S: 200 snip.fbx.proxad.net Cyrus NNTP v2.2.10-Invoca-RPM-2. ... list newsgroups 215 List of newsgroups follows: .
It seems that the server is empty.
[root@ ] /usr/lib/cyrus-imapd/nntpd was not successful.
I'm wondering where the articles should be stored on the disk and how to manage rights.
Thanks you very much for your help.
-- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html