🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13933

Re: Inn-1.5.1, articles not showing up in the outgoing batch file.

#13933
From: Per Hedeland
Date: Fri, 10 Jan 1997 00:00
45 lines
2375 bytes
[ Bogus Distribution: inet removed ]

In article <5aug26$uve$1@trix.ixum.se> sp2joap1@ida.his.se (Joacim
Persson) writes:
>Postit creates a new out.going/<site> (it creates a new temp file and
>does a rename() on it ), but innd still had the file open...

Then "postit" is broken - it should leave the creation of that file to
innd.

>A "ctlinnd drop <site>" before running postit, followed by a
>"ctlinnd begin <site>" does the trick.

It may not be a problem in your case, but in general this is improper -
any articles posted/received between drop and begin will not be fed on.

>How about having innd do the same for all sites' batch files
>with the pause-go drill instead?

I think it would be better if you (or probably the author of "postit")
RTFM'ed instead - ctlinnd(8):

     flush site
          Flush the buffer for the specified site.   The  actions
          taken depend on the type of feed the site receives; see
          newsfeeds(5).  This is useful when the site is fed by a
          file  and  batching  is  going to start.  If site is an
          empty string, then all sites are flushed and the active
          file  and history databases are also written out.  This
          command is forwarded; see below.

- and newsfeeds(5):

     When a site fed by a file is flushed (see ctlinnd), the fol-
     lowing  steps  are  performed.   The  script doing the flush
     should have first renamed the file.   The  server  tries  to
     write  out any buffered data, and then closes the file.  The
     renamed file is now available for use.  The server will then
     re-open the original file, which will now get created.

--Per Hedeland
per@erix.ericsson.se

Technical Details
Message-ID: <5b6kdc$ng7$1@news.du.etx.ericsson.se>
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!not-for-mail
References: <5aoumf$q8o$1@trix.ixum.se> <5aug26$uve$1@trix.ixum.se>

Show Full Headers
Complete Article Headers
Message-ID: <5b6kdc$ng7$1@news.du.etx.ericsson.se>
Subject: Re: Inn-1.5.1, articles not showing up in the outgoing batch file.
Date: Fri, 10 Jan 1997 00:00:00 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <5aoumf$q8o$1@trix.ixum.se> <5aug26$uve$1@trix.ixum.se>
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!not-for-mail
X-Deja-AN: 209028409
Organization: Ericsson Telecom, Stockholm, Sweden
Nntp-posting-user: per
Newsgroups: news.software.nntp