Article View: news.software.nntp
Article #55010Re: 441 return status?
From: Dave Magda
Date: Wed, 07 Nov 2001 01:21
Date: Wed, 07 Nov 2001 01:21
50 lines
2559 bytes
2559 bytes
On 06 Nov 2001, Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
[...]
> Dave> 441 No valid newsgroups in "ryeee.admin.test"
> is this group listed as 'n' in your active file, perhaps?
>
No but it does need authenticaion (which works as shown in the log).
I've also tried posting to a group called ryeee.test which anyone can
post and it gives the same error.
Posting to the newsgroup through tin works just fine, so it must be my
script.
I did some digging in the INN source code:
* The error is output form nnrpd/post.c, line 742:
[...]
if (!FoundOne && !IsNewgroup)
(void)sprintf(Error, "No valid newsgroups in \"%s\"", \
MaxLength(hdr,hdr)
[...]
* "IsNewgroup" is used when a control message comes in; FoundOne is
set to TRUE on 697 of nnrpd/post.c:
[...]
if (!OVgroupstats(p, NULL, NULL, NULL, &flag))
continue;
FoundOne = TRUE;
[...]
* OVgroupstats() can be found in storage/ov.c on line 169:
[...]
BOOL OVgroupstats(char *group, int *lo, int *hi, int *count, int \
*flag) {
if (!ov.open) {
/* must be opened */
syslog(L_ERROR, "ovopen must be called first");
(void)fprintf(stderr, "ovopen must be called first");
return FALSE;
}
return ((*ov.groupstats)(group, lo, hi, count, flag));
}
[...]
--
David Magda <dmagda at ee.ryerson.ca>
Support Buy Nothing Day: http://adbusters.org/campaigns/bnd/
November 23, 2001
Technical Details
Message-ID:
<slrn9uh3g8.2ad.dmagda@number6.magda.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mailReferences:
<slrn9ufsou.tb.dmagda@number6.magda.ca> <87d72wuf3a.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrn9uh3g8.2ad.dmagda@number6.magda.ca> Subject: Re: 441 return status? Date: Wed, 07 Nov 2001 01:21:31 GMT From: dmagda@number6.magda.ca (Dave Magda) References: <slrn9ufsou.tb.dmagda@number6.magda.ca> <87d72wuf3a.fsf@erlenstar.demon.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Newsgroups: news.software.nntp Reply-To: dmagda+usenet@ee.ryerson.ca User-Agent: slrn/0.9.7.1 (FreeBSD) Lines: 49 NNTP-Posting-Host: 64.231.80.149 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1005096091 64.231.80.149 (Tue, 06 Nov 2001 20:21:31 EST) NNTP-Posting-Date: Tue, 06 Nov 2001 20:21:31 EST Organization: Bell Sympatico