🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #79286

Re: Now: patching slrnpull for auto posting [Was: Re: Urban sprawl]

#79286
From: jurriaan kalkman
Date: Sat, 26 May 2001 17:54
30 lines
2307 bytes
On 26 May 2001 01:51:30 GMT, ttfn35
<newpost@ttfn35.freeserve.co.uk> wrote:
> [2] Not sure if this is a good way to do it...
> 
>     	modify slrnpull.c : fetch_head() such that in addition to 
> 	writing to kill_logfile, it creates the 'rebuttal' article in 
> 	SLRNPULL_OUTGOING_DIR using h.msgid, Current_Newsgroup, 
> 	h.from, h.subject.  post_outgoing() only parses 
> 	SLRNPULL_OUTGOING_DIR to see that filenames start with 'X' - 
> 	thus some permutation on rand() should suffice.
> 
> 	The trouble with this method is that slrnpull would have
> 	to be executed twice..
> 	
> 	$ slrnpull --no-post
> 	$ slrnpull --post-only
> 
Wouldn't it be easier to define a special pool for this newsgroup, and
just grep/sed/awk whatever through it after fetching, changing the
articles you've fupped by adding an extra X-Local-Moron-Fupped: Yes
header? No patching of the source would be necessary.

Good luck,
Jurriaan
-- 
BOFH excuse #116:

the real ttys became pseudo ttys and vice-versa.
GNU/Linux 2.4.4-ac17 SMP/ReiserFS 2x1402 bogomips load av: 0.02 0.02 0.00
Technical Details
Message-ID: <slrn9gvqec.a43._hate_spam_thunder7@middle.of.nowhere>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!no_spam_here
References: <3B1F6188@MailAndNews.com> <3B0E49F1.7620134D@man.ac.uk> <slrn9gu6gk.iad.newpost@ttfn35.freeserve.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9gvqec.a43._hate_spam_thunder7@middle.of.nowhere>
Subject: Re: Now: patching slrnpull for auto posting [Was: Re: Urban sprawl]
Date: Sat, 26 May 2001 17:54:43 +0000
From: _hate_spam_thunder7@xs4all.nl (jurriaan kalkman)
References: <3B1F6188@MailAndNews.com> <3B0E49F1.7620134D@man.ac.uk> <slrn9gu6gk.iad.newpost@ttfn35.freeserve.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!no_spam_here
Newsgroups: uk.d-i-y,news.software.readers
Followup-To: news.software.readers
Organization: XS4ALL Internet BV
Lines: 29
NNTP-Posting-Host: rivierenland.xs4all.nl
X-Trace: news1.xs4all.nl 990899683 18740 194.109.14.47 (26 May 2001 17:54:43 GMT)
X-Complaints-To: abuse@xs4all.nl
NNTP-Posting-Date: 26 May 2001 17:54:43 GMT
X-Face: b$-F+98,@$_I=*ODq'<K2(OA)qC&,(GP=z2^`4dwQwy&e;!|R?>")k9FH3?YC+%*kF\=<Rx"Hy2_eyMtnFSiO8
User-Agent: slrn/0.9.7.0a-jwk (GNU/Linux)