🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49923

Re: logging postings

#49923
From: Frank Slootweg
Date: Wed, 17 Jan 2001 14:26
46 lines
2762 bytes
  OOPS. I forgot. After you processed the out.going/... file, you need
to remove the processed entries, but at the same time new entries may be
coming in. For this, I use a script called makebatch, but I do not know
where that script originates from. It does not seem to be part of the
normal INN distribution. makebatch uses shlock(1) and "ctlinnd -s -t30
flush ${SITE}" to do its thing. It also uses batcher(8), but I do not
think that is really relevant.

  A quick inspection shows that makebatch is similar to (but not the same
as) [samples/]sendbatch, which *is* part of the INN distribution, at
least the 1.7.2 one. So if you are not really into this locking stuff,
you can probably take a copy of sendbatch and strip that down.

I wrote:
> 
>   There are probably several methods, but this is what I do:
> 
>   I have a 'dummy' entry in newsfeeds:
> 
> check_on_remote/my.peer.com\
> 	:!*,alt.*,comp.*,news.*,rec.*\
> 	/!local\
> 	:Tf,Wfb:check_on_remote
> 
>   Where the list of newsgroup patterns is the same as for my regular
> feed (my.peer.com).
>   
>   The real work is done by a (crontab(1) invoked) script which processes
> out.going/check_on_remote. out.going/check_on_remote contains lines like
> 
> /usr/spool/news/rec/travel/australia+nz/17905 1026
> 
> i.e. the full pathnames and sizes of 'my' outgoing articles. The script
> can do anything with this information, i.e. it can for example log the
> articles to a file, which is what (I think) you want.
> 
>   I hope this helps.
> 
> Damir Jurica <djurica@damir.globalnet.hr> wrote:
>> Im setting up news server with inn 2.3.0 and everything works ok so far.
>> Now I want to log all posts going from my server to outside world.
>> How can I do that?
>> 
>> TIA
>> Damir Jurica
Technical Details
Message-ID: <944a1s$qk2$3@support.neth.hp.com>
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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!newsfeed.direct.ca!look.ca!nntp.primenet.com!nntp.gblx.net!enews.sgi.com!sdd.hp.com!hp-corv.cv.hp.com!hpb10302.boi.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mail
References: <slrn96b1qh.l3u.djurica@damir.globalnet.hr> <9448pg$qk2$2@support.neth.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <944a1s$qk2$3@support.neth.hp.com>
Subject: Re: logging postings
Date: Wed, 17 Jan 2001 14:26:04 +0000
From: Frank Slootweg <franks@neth.hp.com>
References: <slrn96b1qh.l3u.djurica@damir.globalnet.hr> <9448pg$qk2$2@support.neth.hp.com>
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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!newsfeed.direct.ca!look.ca!nntp.primenet.com!nntp.gblx.net!enews.sgi.com!sdd.hp.com!hp-corv.cv.hp.com!hpb10302.boi.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mail
Newsgroups: news.software.nntp
Organization: NOYB
Lines: 45
Reply-To: Frank Slootweg <franks@support.neth.hp.com>
NNTP-Posting-Host: support.neth.hp.com
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/800))