🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49930

Re: logging postings

#49930
From: Russ Allbery
Date: Wed, 17 Jan 2001 15:43
33 lines
2043 bytes
Frank Slootweg <franks@neth.hp.com> writes:

> 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).

Unfortunately, this doesn't work for moderated groups either.  (BTW, you
can use the O flag in newsfeeds to more easily restrict this to just local
postings.)

> 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.

Note that for current versions of INN you'll get a storage API token
rather than a path and will need to use sm to retrieve the actual article.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <yl66jembg7.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!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.mesh.ad.jp!newsfeed.stanford.edu!nntp.stanford.edu!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: <yl66jembg7.fsf@windlord.stanford.edu>
Subject: Re: logging postings
Date: Wed, 17 Jan 2001 15:43:04 +0000
From: Russ Allbery <rra@stanford.edu>
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!nntp-relay.ihug.net!ihug.co.nz!newsfeed.mesh.ad.jp!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 32
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)