🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Tor Lillqvist Sat, 31 Oct 1992 11:10
injection of mail in news in INN
#1587
Author: Tor Lillqvist
Date: Sat, 31 Oct 1992 11:10
17 lines
1268 bytes
Last night I converted to INN 1.2 from C News. Now I have a problem
with injecting mail into news. I used to have lines like this in
aliases:

tik.juoru	: "|remsh hemuli /usr/lib/newsbin/inject/inews -h -d tik -n tik.juoru"

(rsh is called remsh on HP-UX), which I now changed to

tik.juoru	: "|remsh hemuli /usr/local/news/inews -h -d tik -n tik.juoru"

But, it doesn't work because inews complains about the obsolete
Received: header that sendmail. Any hints?
--
Tor Lillqvist,
working, but not speaking, for the Technical Research Centre of Finland,
Laboratory for Information Processing (VTT/TIK).
Re: injection of mail in news in INN
#1595
Author: Rich Salz
Date: Mon, 02 Nov 1992 14:30
17 lines
1401 bytes
In <TML.92Oct31111057@hemuli.tik.vtt.fi> tml@tik.vtt.fi (Tor Lillqvist) writes:
>tik.juoru	: "|remsh hemuli /usr/local/news/inews -h -d tik -n tik.juoru"
>But, it doesn't work because inews complains about the obsolete
>Received: header that sendmail. Any hints?
Right; inews is the user front-end, it shouldn't be used for gatewaying.
For example, it will mail articles to the moderator and reject articles
about newsgroups it doesn't know about.

Ideally, you want to add the missing headers yourself and feed the article
into rnews.  There are various ways of doing this; I have one option
called "newsgate".

In this case, however, you could probably be *VERY* simplistic and just
pipe the article through sed to remove the Received line (make sure you
deal with multi-line headers, tho).
	/r$
Re: injection of mail in news in INN
#1597
Author: Philip Brandenberger
Date: Mon, 02 Nov 1992 21:56
19 lines
1374 bytes
rsalz@rodan.UU.NET (Rich Salz) writes:

> In this case, however, you could probably be *VERY* simplistic and just
> pipe the article through sed to remove the Received line (make sure you
> deal with multi-line headers, tho).

check out the procmail package from

ftp.informatik.rwth-aachen.de (137.226.112.31)

This allows (among other things) intelligent header munging which
concatenates multi-line headers for you.

-Phil
-- 
----------------------------------------------------------------------
Philip J. Brandenberger
phil@cs.swarthmore.edu
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