Article View: news.software.nntp
Article #81727starting external programm when an article is posted
From: Michael Vogel
Date: Fri, 31 Jul 2009 20:10
Date: Fri, 31 Jul 2009 20:10
21 lines
1769 bytes
1769 bytes
Hi! I'm using inn and I'm trying to write a sync program between a newsserver and a forum. For this I have to start a program whenever a post is done. I know that the config file is "newsfeeds" and I already managed to create an entry that starts a programm whenever a post is done. But: How can the script fetch the message? All that the script gets is some kind of data like @050000000000900000000680000000@ What can I do to fetch the message? The script is written in php. The newsfeeds looks like this: newsforum:!*,news.test:Tp:/path/to/file.php %s Is there any example I could use to see what I have done wrong? Thanks! Michael
Technical Details
Message-ID:
<4a734fa9$0$30230$9b4e6d93@newsspool1.arcor-online.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <4a734fa9$0$30230$9b4e6d93@newsspool1.arcor-online.net> Subject: starting external programm when an article is posted Date: Fri, 31 Jul 2009 22:10:18 +0200 From: Michael Vogel <ike@spamfence.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 Newsgroups: news.software.nntp Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Lines: 21 Organization: Arcor NNTP-Posting-Date: 31 Jul 2009 22:10:17 CEST NNTP-Posting-Host: d11bf68c.newsspool1.arcor-online.net X-Trace: DXC=hXo:67YK=eAI7\_^6>c20Jic==]BZ:afN4Fo<]lROoRA^YC2XCjHcbI05dL02E2Z\KF92\V=PFcZBBHn[RRJWFhCEFf\::L77KER9boY; 9DVCM X-Complaints-To: usenet-abuse@arcor.de