🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Will Estes Sat, 28 Mar 1992 03:32
NNTPD/rnews/newsspool placing files with strange naming convention in in.coming
#1467
Author: Will Estes
Date: Sat, 28 Mar 1992 03:32
22 lines
1221 bytes
Our news feed is successfully sending us news via NNTP, but the files
are being left in the in.coming directory with the following naming
convention:
	9999.1
	9999.2
	9999.3
	9999.4
	...
	9999.7
	...
	9999.n

As you can imagine, newsrun has fits when it gets to articles with names
like 9999.7, since it assumes these were c7decode files.  In fact, all
these files are plain text...no compression has been done at all.

Can anyone tell me who is the culprit responsible for naming these files
like this?  

Thanks,
Will Estes         Internet: westes@netcom.com
Re: NNTPD/rnews/newsspool placing files with strange naming convention in in.coming
#1463
Author: Randal L. Schwartz
Date: Sat, 28 Mar 1992 19:36
33 lines
2088 bytes
In article <_qcjrpdwestes@netcom.com>, westes@netcom (Will Estes) writes:
| Our news feed is successfully sending us news via NNTP, but the files
| are being left in the in.coming directory with the following naming
| convention:
| 	9999.1
| 	9999.2
| 	9999.3
| 	9999.4
| 	...
| 	9999.7
| 	...
| 	9999.n
| 
| As you can imagine, newsrun has fits when it gets to articles with names
| like 9999.7, since it assumes these were c7decode files.  In fact, all
| these files are plain text...no compression has been done at all.
| 
| Can anyone tell me who is the culprit responsible for naming these files
| like this?  

I don't know, but the fix was simple.  Just edit "newsrun" so it doesn't
recognize .7 as c7decode files.  (Or rewrite it in Perl. :-)

I supposed that doesn't work if you actually get some of those, but
I'm NNTP only, so I don't have to worry.

Just another Cnews hacker,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."====/
Re: NNTPD/rnews/newsspool placing files with strange naming convention in in.coming
#1462
Author: Per Hedeland
Date: Mon, 30 Mar 1992 10:25
33 lines
2046 bytes
In article <_qcjrpdwestes@netcom.com>, westes@netcom.com (Will Estes) writes:
|> Our news feed is successfully sending us news via NNTP, but the files
|> are being left in the in.coming directory with the following naming
|> convention:
|> 	9999.1
|> 	9999.2
|> 	9999.3
|> 	9999.4
|> 	...
|> 	9999.7
|> 	...
|> 	9999.n
|> 
|> As you can imagine, newsrun has fits when it gets to articles with names
|> like 9999.7, since it assumes these were c7decode files.  In fact, all
|> these files are plain text...no compression has been done at all.

Since I just happened to browse through the code that does this the
other day, I believe the answer is that nntpd creates files such as
these (rather than all-numeric-current-time-based-named ones) if you
have defined NONEWSRUN in common/conf.h:

#undef  NONEWSRUN               /* define this if you are using the daemon */
                                /* version of relaynews */

As the name seems to imply, you probably shouldn't run newsrun in this
case... (The code is in server/batch.c:enqueue(), btw.)

--Per Hedeland
per@erix.ericsson.se  or
per%erix.ericsson.se@sunic.sunet.se  or
...uunet!erix.ericsson.se!per
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads