From: naddy@mips.ruessel.sub.org (Christian Weisgerber)
Newsgroups: de.newusers.questions
Organization: My Individual Private Site
Subject: Kaputte Artikel von mips?
Reply-To: naddy@mips.ruessel.sub.org
X-Software: HERMES GUS 1.10 Rev. Dec 18 1992
Date: Sat, 09 Jan 1993 22:23:56 CET
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Folgendes Problem:
Ein Posthamster hat mich angehauen, weil die von mips.ruessel.sub.org
(d.h. von mir) generierten Artikel angeblich defekt seien, und ich das
bitte beheben solle. Leider kann ich mit seiner "Fehlerbeschreibung"
nichts anfangen. Scheint ein NNTP-Problem zu sein, wie mips als
UUCP-System da ins Spiel kommt, ist mir schleierhaft.

Vielleicht kann jemand etwas dazu sagen:

========================================================================
Date: Wed, 6 Jan 1993 18:28:34 +0100
From: mikep@adaclabs.com (Mike Pechner)
To: naddy@mips.ruessel.sub.org
Subject: Re: Bad news post is occuring

> 
> In <9301041906.AA09058@adaclabs.com>, you write:
> 
> > I am getting the following error from messages posted from your site.
> > Please correct them.
> > 
> > Dec 26 13:40:43 firewall nntpd[17343]: cpstdin: EOF before period on line by itself <H.ea.kiOJsuQME3E@mips.ruessel.sub.org>
> > I recieve plenty of these.
> > Thanks.
> 
> I'd gladly look into and try to correct the problem if I knew what was
> wrong in the first place. mips is a strictly uucp-based site, there are
> no SMTP/NNTP connections, and I have no experience with the NNTP
> protocol. I have no idea what might be causing the errors.
> 
> Sorry, but I'm afraid without further information I can't do much to
> ameliorate the situation. BTW, yours is the first error report I
> received on this case.
> 
> -- 
> Christian "naddy" Weisgerber, Germany           naddy@mips.ruessel.sub.org
> 

In nntpd is the internet (non-uucp) method of receiving news.
The error comes from ../nntp/server/batch.c.
RCS header for the file: batch.c,v 1.15 91/01/13 03:27:26
The line of code is:
        222  
        223      /* See if the connection got closed somehow... */
        224      if (line[0] != '.' && line[1] != '\0') {
        225          if (tempfile[0] != '\0')
        226              (void) unlink(tempfile);
        227  #ifdef SYSLOG
        228  #ifdef LOG
        229          syslog(LOG_ERR,
        230              "%s cpstdin: EOF before period on line by itself %s",
        231              hostname, msg_id);
        232  #else
        233          syslog(LOG_ERR,
        234              "cpstdin: EOF before period on line by itself %s", msg_id);
        235  #endif
        236  #endif
        237          return 0;
        238      }
        239      return 1;

Basicaly a news article is ended by the following string, ".\0".
And those articles did not.

Maybe other people do not read their syslog the way I do.
Or they do not log problems to syslog.
Or figured you were debugging something for the couple of days
this was occuring.

--- 
mikep@adaclabs.com (Michael Pechner)  | Pizza Probably The Worlds Most
Adac Labs                             | Perfect Food.
Milpitas, Ca                          | Carbo, Meat, Dairy, And Veggie 

========================================================================

Die Artikel, die hier rausgehen enden garantiert nicht aus ".\0", ich
wuesste auch nicht, wieso sie das bei uucp&Co. sollten, schliesslich
wird ja die genaue Artikellaenge mituebertragen.

???

Thanx
-- 
Christian "naddy" Weisgerber, Germany           naddy@mips.ruessel.sub.org
Newsgroups: de.newusers.questions