🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50877

Re: logging postings

#50877
From: admin
Date: Wed, 28 Feb 2001 00:46
35 lines
2575 bytes
In article <slrn96b1qh.l3u.djurica@damir.globalnet.hr>, Damir Jurica
<djurica@damir.globalnet.hr> writes:
>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?

I've read the rest of this thread and I must be missing something.

My interpretation of your question is that you want to log posts
made at your local server.

The solutions I've read seem over the top for this, which is why
I guess I'm missing something. I do this, with a simple newsfeeds
entry like so:

postlogger!/newsfeed.cwix.com:*,!control.*:Tf,WOn:/var/log/post.log

This sends overview data for every post that did not come from my feeder
to a log file, where it was then a trivial matter to adapt my web-news
gateway software to use the resulting text log to display the articles.

You could easily change this into a channel or program feed that would
then go and copy the article wherever and however you wanted:

logme!/news.yourfeed.com:*:Tp,WOn:/usr/local/bin/copy_article

Is this all you wanted to do?

-Cengiz

 -----  Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web  -----
  http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
   NewsOne.Net prohibits users from posting spam.  If this or other posts
made through NewsOne.Net violate posting guidelines, email abuse@newsone.net
Technical Details
Message-ID: <97hhoa$dua$1@news.netmar.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-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!europa.netcrusader.net!205.252.116.205!howland.erols.net!newsfeed.cwix.com!newsone.net!newsone.net!not-for-mail
References: <slrn96b1qh.l3u.djurica@damir.globalnet.hr>

Show Full Headers
Complete Article Headers
Message-ID: <97hhoa$dua$1@news.netmar.com>
Subject: Re: logging postings
Date: Wed, 28 Feb 2001 00:46:02 +0000
From: admin@newsone.net
References: <slrn96b1qh.l3u.djurica@damir.globalnet.hr>
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-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!europa.netcrusader.net!205.252.116.205!howland.erols.net!newsfeed.cwix.com!newsone.net!newsone.net!not-for-mail
Newsgroups: news.software.nntp
Followup-To: news.software.nntp
Organization: NewsOne.Net - Free Usenet News via the Web - http://newsone.net/
Lines: 34
NNTP-Posting-Host: news.netmar.com
X-Trace: news.netmar.com 983321162 14282 205.139.138.14 (28 Feb 2001 00:46:02 GMT)
X-Complaints-To: abuse@newsone.net
NNTP-Posting-Date: 28 Feb 2001 00:46:02 GMT
X-PNG: news.software.nntp
X-MCC: djurica@damir.globalnet.hr
X-NewsOnePostHost: client200-96.rtp.intrex.net
X-NewsOnePostAddr: 209.42.200.96