🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68501

Re: bogus Xref: header

#68501
From: Russ Allbery
Date: Wed, 10 Mar 2004 20:53
39 lines
2623 bytes
Mike Lischke <public@lischke-online.de> writes:

> It is totally perplexing. I now have deleted all messages, set the
> xrefslave and the nntp host to my old server. I did a suck over all
> messages, reset the xrefslave and nntp host and restarted INN. I can
> read all existing messages but cannot post any new, as it is always
> rejected with the bogus xref header problem. What else can I do?

Hm, okay, I'm sorry.  That isn't the error message that I thought it was,
and this isn't related to xrefslave, upon further investigation.  This
error message is coming out of tradspool:

    xrefhdr = article.groups;
    if ((xrefs = CrackXref(xrefhdr, &numxrefs)) == NULL || numxrefs == 0) {
        token.type = TOKEN_EMPTY;
        SMseterror(SMERR_UNDEFINED, "bogus Xref: header");
        if (xrefs != NULL)
            free(xrefs);
        return token;
    }

    if ((p = strchr(xrefs[0], ':')) == NULL) {
        token.type = TOKEN_EMPTY;
        SMseterror(SMERR_UNDEFINED, "bogus Xref: header");
        for (i = 0 ; i < numxrefs; ++i) free(xrefs[i]);
        free(xrefs);
        return token;
    }

This means that INN is generating invalid Xref headers somehow.  You don't
have your server name set to something containing a space or the like, do
you?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87u10wbf0u.fsf@windlord.stanford.edu>
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!shelby.stanford.edu!not-for-mail
References: <xn0dfm9cs4flup003@news.individual.de> <87oer4czrh.fsf@windlord.stanford.edu> <xn0dfm9vr570in000@news.individual.de> <87eks0cy2f.fsf@windlord.stanford.edu> <xn0dfmca98dw9d002@news.individual.de>

Show Full Headers
Complete Article Headers
Message-ID: <87u10wbf0u.fsf@windlord.stanford.edu>
Subject: Re: bogus Xref: header
Date: Wed, 10 Mar 2004 12:53:05 -0800
From: Russ Allbery <rra@stanford.edu>
References: <xn0dfm9cs4flup003@news.individual.de> <87oer4czrh.fsf@windlord.stanford.edu> <xn0dfm9vr570in000@news.individual.de> <87eks0cy2f.fsf@windlord.stanford.edu> <xn0dfmca98dw9d002@news.individual.de>
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!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 38
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1078951985 973 171.64.19.147 (10 Mar 2004 20:53:05 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:R1GqiA8txh+4IBUsmvZMz3l3UpY=