🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64258

Re: Suck Configuration Update

#64258
From: Aioe
Date: Tue, 04 Mar 2003 12:21
38 lines
1858 bytes
Anthony Michaud wrote:

> I now have the problem of posting the outgoing messages.  

something like this

rpost [news.example.com] -b [rpostfile] -f [myscript] $$i $$o=[tmpfile] 
[tmpfile]

where:

[news.example.com] is your news server

-b [rpostfile]

[rpostfile] is the batchfile that contains all articles to post
(use suck with -bi flag to build it)

-f [myscript]
[myscript] is the script that changes the headers of each post (you may need 
to delete some headers)

you may use somthing like this:

---------
#!/bin/sh

sed -e "/^NNTP-Posting-Host:/d" -e "/^NNTP-Posting-Date:/d" -e 
"/^X-Complaints-To:/d" -e "/^X-Trace:/d" -e "/^Xref:/d" $1 > $2
---------

[tmpfile] is a tmp file


it's not so difficult :)


Technical Details
Message-ID: <b425p1$i9k$1@news.flashnet.it>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!skynet.be!skynet.be!newsfeeder.edisontel.com!newsfeeder.flashnet.it!news.flashnet.it!not-for-mail
References: <3e61bd93$1_1@news.iprimus.com.au> <slrnb65sqj.1id.mdalene@pinkrose.dhis.org> <3e63077c$1_1@news.iprimus.com.au> <3e642e04$1_1@news.iprimus.com.au>

Show Full Headers
Complete Article Headers
Message-ID: <b425p1$i9k$1@news.flashnet.it>
Subject: Re: Suck Configuration Update
Date: Tue, 04 Mar 2003 13:21:56 +0100
From: Aioe <estasi@aioe.org>
References: <3e61bd93$1_1@news.iprimus.com.au> <slrnb65sqj.1id.mdalene@pinkrose.dhis.org> <3e63077c$1_1@news.iprimus.com.au> <3e642e04$1_1@news.iprimus.com.au>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!skynet.be!skynet.be!newsfeeder.edisontel.com!newsfeeder.flashnet.it!news.flashnet.it!not-for-mail
Newsgroups: news.software.nntp
Organization: aioe.org
Lines: 37
NNTP-Posting-Host: adsl215.14.cyb.it
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: news.flashnet.it 1046780513 18740 195.191.14.215 (4 Mar 2003 12:21:53 GMT)
X-Complaints-To: abuse@flashnet.it
NNTP-Posting-Date: 4 Mar 2003 12:21:53 GMT
User-Agent: KNode/0.7.1