🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Yuval Kfir Sun, 25 Sep 1994 12:00
How to do "reverse aliasing" with inews?
#2936
Author: Yuval Kfir
Date: Sun, 25 Sep 1994 12:00
38 lines
2149 bytes
I sure hope these are the right newsgroups...

In brief: I want to do "reverse aliasing," similar to what sendmail
does for outgoing mail, on outgoing articles.

Here is our configuration:
  
* Users work on several workstations.  E.g. mine is named 'isildur'.
  
* There is a central mailserver for Indigo, called 'center'.  It is
  our only connection to the outside world, via UUCP.  Its sendmail is
  configured to do reverse aliasing, so that outgoing mail from me
  does not appear as 'kfir@sparc1a.Indigo' but as 'yuval.kfir@Indigo'.

* 'center' is also the central news server, and other nodes read news
  via NNTP from it.
* When posting an article from any node, it is also mailed to our UUCP
  partner to a special user called post-usenet, in complete
  RFCwhatever format (i.e. with Path: and From: properly constructed.)


My problem again: while outgoing mail from me is reverse-aliased to
appear as 'From: yuval.kfir@Indigo.co.il', the From: line for outgoing
news is still 'From: kfir@isildur.Indigo.co.il' (or whatever node I
happen to post from.)  I want it to be similar to the outgoing mail
From: line.


If this is a FAQ or just an RSQ (Really Stupid Question,) please
answer by e-mail and sorry for wasting everybody's time!  But it
doesn't look trivial to me.

Much obliged,
-- 
Yuval Kfir, Indigo Ltd., Israel (NOT an official spokesperson)
"My opinions may change but not the fact that I am right."
PLEASE mail me if you know the source of my .sig quote... I don't!
Re: How to do "reverse aliasing" with inews?
#2937
Author: Ramon F Herrera
Date: Mon, 26 Sep 1994 22:45
29 lines
1979 bytes
Yuval Kfir (kfir@isildur.indigo.co.il) wrote:

: In brief: I want to do "reverse aliasing," similar to what sendmail
: does for outgoing mail, on outgoing articles.

: My problem again: while outgoing mail from me is reverse-aliased to
: appear as 'From: yuval.kfir@Indigo.co.il', the From: line for outgoing
: news is still 'From: kfir@isildur.Indigo.co.il' (or whatever node I
: happen to post from.)  I want it to be similar to the outgoing mail
: From: line.

: If this is a FAQ or just an RSQ (Really Stupid Question,) please
: answer by e-mail and sorry for wasting everybody's time!  But it
: doesn't look trivial to me.

Yuval,

the rewriting of the "From:" header is normally done by the newsreader
before it calls 'inews' (BTW: 'Pnews' and 'trn' call the standalone
'inews' program, whereas 'tin' uses its own internal 'inews' routine).

At least 'trn' and 'tin' provide the ability to specify the right-hand
side of the '@' sign in the "From:" header.  I don't kwnow how to rewrite 
the user name, though.  I guess you would have to borrow the code from
'sendmail' to do that.

-Ramon Herrera

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