having trouble feeding Cyrus NNTP with fetchnews

Ken Murchison ken at oceana.com
Fri Jun 25 14:49:34 EDT 2004

Ben Poliakoff wrote:

> Hello All,
> I've recently upgraded from the 2.1.x branch to the 2.2.x branch of
> cyrus-imapd (2.2.6 as of yesterday).  The upgrade was seamless.
> One of the 2.2.x features I've been looking forward to has been the new
> NNTP support.
> I've created all the target mailboxes several times, both by hand and
> also with the help of the "mknewsgroups" script.  All of the boxes have
> (at minimum) the "anyone p" ACL set.
> So far I'm having spotty luck feeding news from a remote INN server
> into our cyrus imap server with the "fetchnews" command.  It's actually
> worked only once.

How are you determining that its failing?  I've been using it since the 
first day that I wrote it, and it works fine.  You might have something 
configured incorrectly.  If you get a protocol dump of fetchnews talking 
to Cyrus, we might be able to see what is happening.

> Now when I run the following fetchnews command (starting over, having
> cleared out the fetchnews.db file, and having freshly recreated all of
> the target mailboxes to be fed):
>     /usr/cyrus/bin/fetchnews -n -s my.server.name -w "news.bulletins*" \
>     remote.news.server
> I get the following message in my logs:
>     Jun 25 10:19:15 my.server.name fetchnews[20623]: \
>     fetchnews: remote.news.server offered 24; my.server.name rejected 24, \
>     accepted 0, failed 0
> I'd love to get those 24 articles.  I can't figure out why the cyrus
> server is rejecting them.  Are there lingering message/article numbers
> floating around in the duplicate.db?

Most likely.  If you simply removed the mailboxes and articles, the 
message-id records are still in deliver.db.

Do you have admin access on the INN server?  If you do, then why don't 
you just set it up to feed articles to Cyrus (unless you want to 'pull' 
rather than 'push' for security reasons).

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

More information about the Info-cyrus mailing list