Thread View: news.software.nntp
14 messages
14 total messages
Started by Paul D. Smith
Tue, 09 Nov 1999 00:00
standalone inews?
Author: Paul D. Smith
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
34 lines
2580 bytes
2580 bytes
I'm sure this is an obvious question, but where can I find a standalone version if inews? I have a mail2news script (in Perl by Tom Christiansen) and it formats mail messages and invokes inews to post them. I have a _very_ old version of inews that used to work fine: I have no idea where it came from but it's been here for at least 6 years. Recently it stopped working because the newsserver hostname changed (I suspect). Seems like a perfect opportunity to update old software that I don't have the source to, etc. But the inews in my INN 2.x distribution won't work unless it has access to the inn.conf file, and probably other stuff (from reading the man page). I don't have that access; those files are tucked away on the newsserver and I don't want to export or copy them. I don't want to move my mail2news processing to the newsserver for political reasons (my access to that system is being steadily reduced and I don't want to be at the mercy of the current admins for this). Soooo... can someone point me to a version of inews that is standalone... or a similar tool that will take the text of a post from stdin (preferably with the newsgroup on the command line) and post it for me? I could just open a session directly I guess, but it'd be nice if I didn't have to. -- ------------------------------------------------------------------------------- Paul D. Smith <psmith@baynetworks.com> Network Management Development "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ------------------------------------------------------------------------------- These are my opinions---Nortel Networks takes no responsibility for them.
Re: standalone inews?
Author: Paul D. Smith
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
31 lines
2239 bytes
2239 bytes
%% Mefisto <mefisto@linuxstart.com> writes: >> Soooo... can someone point me to a version of inews that is >> standalone... or a similar tool that will take the text of a post from >> stdin (preferably with the newsgroup on the command line) and post it >> for me? m> I'm sure that you can compile a stand-alone inews form every inn m> package (i'm talking about the sources). Any hints? I've already looked at the sources and the distro and I don't see any way to do it. There's a MakeInews script that purports to create a separately distributable inews package, but it also pulls out various config files to ship along with it, like inn.conf, passwd.nntp, distrib.pats, etc., that I don't want to have to distribute. I don't see why I should have to have those just to post to a server. I don't need them to post with other, interactive software. -- ------------------------------------------------------------------------------- Paul D. Smith <psmith@baynetworks.com> Network Management Development "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ------------------------------------------------------------------------------- These are my opinions---Nortel Networks takes no responsibility for them.
Re: standalone inews?
Author: Paul D. Smith
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
25 lines
2077 bytes
2077 bytes
%% drechsau+usenet@yuck.net (Mike Horwath) writes: mh> Paul D. Smith <psmith@baynetworks.com> wrote: mh> : Soooo... can someone point me to a version of inews that is mh> : standalone... or a similar tool that will take the text of a post from mh> : stdin (preferably with the newsgroup on the command line) and post it mh> : for me? mh> Grab the NN sources or the TRN sources, one of them has inews mh> source that just might do what you need. Hm. Well, TRN doesn't have anything. NN has a "mini-inews", but it's pretty "mini". For one thing, it doesn't generate a Message-ID field. I'm beginning to think I should just suck it up, copy the config files, and use the "normal" inews. -- ------------------------------------------------------------------------------- Paul D. Smith <psmith@baynetworks.com> Network Management Development "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ------------------------------------------------------------------------------- These are my opinions---Nortel Networks takes no responsibility for them.
Re: standalone inews?
Author: Mefisto
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
75 lines
4019 bytes
4019 bytes
In article <p5wvrrzhp1.fsf@baynetworks.com>,
> Soooo... can someone point me to a version of inews that is
> standalone... or a similar tool that will take the text of a post from
> stdin (preferably with the newsgroup on the command line) and post it
> for me?
There is also a package called NewsCache. NewsCache can be used in the
following configurations:
As a Cache Server
NewsCache can be used in combination with a
news server. In this setup news reading clients connect to NewsCache
instead
of to the news server. In a small test at our
university, we got a hit rate of over 30%, although the interests of the
people
accessing NewsCache was relatively wide
spread. This figure can be mapped onto a reduction of the load at the
news server.
Instead of a Leaf Node News Server
NewsCache can replace a leaf node news
server. Usually, news readers access only a small fraction of the
articles available at
the news server. NewsCache only stores those
newsgroups and articles being accessed frequently, while still providing
a virtual
full feed. This reduces the network bandwidth
between the former news server and the news feed and also hardware
requirements (both in terms of disk space and
CPU performance). Less CPU performance is sufficient because no local
article
numbering has to be performed and a smaller
database has to be searched.
Multiplexing Between Different News Servers
NewsCache allows to retrieve news from
different news servers. This allows you to merge the feed of multiple
news servers
into one virtual feed and thus your users do
not have to configure multiple news servers in their news clients (which
is not always
possible). This is of especial interest of
you frequently access vendor specific news servers.
Partitioning the Spool Among News Server
In case you need to provide a full news
service, you might be benefit from NewsCache by partitioning the spool
among different
news servers and let NewsCache multiplex
between them. This allows you to replace one powerful news server by
several less
powerful, but more cost effective news
servers.
Provision of Local Newsgroups
NewsCache can also be used for the provision
of local newsgroups without setting up and maintaining a news server
with a full
feed. To you use this feature, you simply set
up a small news server that just holds the local newsgroups and let
NewsCache
multiplex between the local and the upstream
news server.
BTW: you can find it at: http://www.infosys.tuwien.ac.at/NewsCache/
--
CUL8R,
Mefisto
-= Linux: The choice of the GNU generation! :)
Sent via Deja.com http://www.deja.com/
Before you buy.
Re: standalone inews?
Author: bill davidsen
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
17 lines
1347 bytes
1347 bytes
In article <p5wvrrzhp1.fsf@baynetworks.com>, Paul D. Smith <psmith@baynetworks.com> wrote: | I could just open a session directly I guess, but it'd be nice if I | didn't have to. I was going to suggest that very thing, but you want another solution I can't provide. Have you considered compiling rnews out of INN and using the command line option to post to another (remote) host? -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: standalone inews?
Author: Kim DeVaughn
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
20 lines
1491 bytes
1491 bytes
In article <p5yac7xxc3.fsf@baynetworks.com>,
Paul D. Smith <psmith@baynetworks.com> wrote:
|
| Hm. Well, TRN doesn't have anything. NN has a "mini-inews", but it's
| pretty "mini". For one thing, it doesn't generate a Message-ID field.
Make sure you grab a copy of the trn4 distribution. It most certainly
^
does have a standalone inews, though you need to do a full trn4 build
to compile it (unless you hack on the ./Configure and/or Makefiles).
The relevant file is (surprise) "inews.c".
/kim
==========================================================================
"Downloaded it, tried to use it, didn't know what the hell to do with it."
--Tara W.
Re: standalone inews?
Author: Paul D. Smith
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
22 lines
1923 bytes
1923 bytes
%% Mefisto <mefisto@linuxstart.com> writes: m> In article <p5wvrrzhp1.fsf@baynetworks.com>, >> Soooo... can someone point me to a version of inews that is >> standalone... or a similar tool that will take the text of a post from >> stdin (preferably with the newsgroup on the command line) and post it >> for me? m> There is also a package called NewsCache. NewsCache can be used in the m> following configurations: I don't see how this would help: we already have a full newsserver. I just need a commandline tool to post to it from a script. -- ------------------------------------------------------------------------------- Paul D. Smith <psmith@baynetworks.com> Network Management Development "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ------------------------------------------------------------------------------- These are my opinions---Nortel Networks takes no responsibility for them.
Re: standalone inews?
Author: Paul D. Smith
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
34 lines
2393 bytes
2393 bytes
Ah, perfect!
Yeah, well, OK, I do use Solaris and I did have to tweak a few things to
get it built.
But, it works a picture! I should have known to try Fluffy's site
first. Duh.
PS. Probs in brief for those who care:
- The prototype for getopt on Solaris is:
extern int getopt(int, char *const *, const char *);
which doesn't work with the getopt provided with new-inews
(problems in the prototype in inews.c and in the actual getopt.c
file). I commented it out of inews and changed the function in
getopt.c.
- The prototype for lower() in strneql() doesn't match the actual
declaration later on in inews.c (if you want it to take a char
instead of an int you have to always use prototypes to avoid
integer promotion rules). I commented it out.
- Need to #include <sys/types.h> before <sys/socket.h> in clientlib.c
- Need to add -lsocket -lnsl to the link line.
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.
Re: standalone inews?
Author: Jeremy
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
14 lines
969 bytes
969 bytes
Paul D. Smith <psmith@baynetworks.com> wrote: > Soooo... can someone point me to a version of inews that is > standalone... or a similar tool that will take the text of a post from > stdin (preferably with the newsgroup on the command line) and post it > for me? You can find an inews under http://members.xoom.com/meowing/cssri/ -- Jeremy | jeremy@exit109.com
Re: standalone inews?
Author: Mefisto
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
46 lines
2450 bytes
2450 bytes
In article <p5wvrrzhp1.fsf@baynetworks.com>,
psmith@baynetworks.com wrote:
> I'm sure this is an obvious question, but where can I find a
standalone
> version if inews?
>
> I have a mail2news script (in Perl by Tom Christiansen) and it formats
> mail messages and invokes inews to post them. I have a _very_ old
> version of inews that used to work fine: I have no idea where it came
> from but it's been here for at least 6 years. Recently it stopped
> working because the newsserver hostname changed (I suspect).
>
> Seems like a perfect opportunity to update old software that I don't
> have the source to, etc. But the inews in my INN 2.x distribution
won't
> work unless it has access to the inn.conf file, and probably other
stuff
> (from reading the man page). I don't have that access; those files
are
> tucked away on the newsserver and I don't want to export or copy them.
> I don't want to move my mail2news processing to the newsserver for
> political reasons (my access to that system is being steadily reduced
> and I don't want to be at the mercy of the current admins for this).
>
> Soooo... can someone point me to a version of inews that is
> standalone... or a similar tool that will take the text of a post from
> stdin (preferably with the newsgroup on the command line) and post it
> for me?
>
> I could just open a session directly I guess, but it'd be nice if I
> didn't have to.
I'm sure that you can compile a stand-alone inews form every inn
package (i'm talking about the sources).
--
CUL8R,
Mefisto
-= Linux: The choice of the GNU generation! :)
Sent via Deja.com http://www.deja.com/
Before you buy.
Re: standalone inews?
Author: Alternative Fluffy
Date: Tue, 09 Nov 1999 00:00
Date: Tue, 09 Nov 1999 00:00
21 lines
1417 bytes
1417 bytes
Jeremy <jeremy@exit109.com> wrote:
> You can find an inews under
> http://members.xoom.com/meowing/cssri/
And one of these days I'll even have a chance to finish updating it.
There are some Solaris and, um, something else I'd have to go check in
my mail to remember, tweaks that need to go in.
but forst I've gotta finish dealing with the mess I made for myself --
got some nice pretty header parsing code, and now the program I'm
using it on is fighting me while I extricate it from the butt-ugly
parser it used previously.
The good news is that the inews will get to use the parser too and be
a hell of a lot more readable in the end.
--
Just another damn crazy follower of the horns.
Re: standalone inews?
Author: Alternative Fluffy
Date: Wed, 10 Nov 1999 00:00
Date: Wed, 10 Nov 1999 00:00
13 lines
1260 bytes
1260 bytes
Paul D Smith <psmith@baynetworks.com> wrote: > %% kimdv@best.com (Kim DeVaughn) writes: > kd> Make sure you grab a copy of the trn4 distribution. > Hmm. Where would that be? I looked all over the place and the latest I > came up with was 3.6, from ftp.uu.net I think. trn4 has been in beta for a very long time. It works fine and all; the last I heard the only real thing holding it back was updated docs. Try <URL:http://www.clari.net/~wayne/>
Re: standalone inews?
Author: Paul D. Smith
Date: Wed, 10 Nov 1999 00:00
Date: Wed, 10 Nov 1999 00:00
18 lines
1764 bytes
1764 bytes
%% kimdv@best.com (Kim DeVaughn) writes: kd> Make sure you grab a copy of the trn4 distribution. Hmm. Where would that be? I looked all over the place and the latest I came up with was 3.6, from ftp.uu.net I think. Anyway, I used new-inews and that works great. But maybe some trn users around here would like to try 4.x? -- ------------------------------------------------------------------------------- Paul D. Smith <psmith@baynetworks.com> Network Management Development "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ------------------------------------------------------------------------------- These are my opinions---Nortel Networks takes no responsibility for them.
Re: standalone inews?
Author: Kim DeVaughn
Date: Thu, 11 Nov 1999 00:00
Date: Thu, 11 Nov 1999 00:00
21 lines
1345 bytes
1345 bytes
In article <87d7tinqz8.fsf@slip-32-100-243-181.ma.us.prserv.net>, Alternative Fluffy <gerglery@usa.net> wrote: | | trn4 has been in beta for a very long time. It works fine and all; | the last I heard the only real thing holding it back was updated docs. Yep ... that's been the biggest "problem" for the last year or two ...! | Try <URL:http://www.clari.net/~wayne/> And the latest distribution is at: <ftp://ftp.clari.net/private/trn/trn4-test72.tar.gz> /kim ==================================== "How sweet it is!" --Jackie Gleason
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads