🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Martin J. Dellwo Tue, 08 Oct 1991 02:52
host name problem
#681
Author: Martin J. Dellwo
Date: Tue, 08 Oct 1991 02:52
21 lines
1927 bytes
I have rn 4.4 patch level 1.  I use the network version (rrn), in my 
config.sh file of defaults, I've currently got internet='define',
sitename='ottawa', domain='scs.uiuc.edu',hostcmd='hostname',hostfile='',
and gethostbyname='define'.  Our computer is a Silicon Graphics,
Irix 3.3.2, and has full access to the internet.

When I run Configure it gets the host from `hostname` (which is ottawa)
It then says it will append the domain to the hostname if it contains 
no periods, for the purposes of the From: header for posting.

However, it doesn't seem to do that.  My postings come out as 
From: dellwo@ottawa  instead of From: dellwo@ottawa.scs.uiuc.edu

I've started using the REPLYTO environment variable, but I prefer not to 
do this.  Is there a bug?  I did have the full name hardcoded in, I
*think*, during one compiled incarnation, but that also had no effect.
-- 
 \martin.j.dellwo.school.of.chemical.sciences.university.of.illinois.urbana-./
\champaign.phone.work.217.333.3944.home.217.344.7233.email.to.#uiuc.edu.where./
/#.eqs.(dellwo@[ottawa|toronto|montreal|winnipeg|halifax].scs.).or.(m-dellwo@)\
 /.quote.".Verbosity.leads.to.unclear.,.inarticulate.things.".v.p.dan.quayle.\
Re: host name problem
#693
Author: Don Lewis
Date: Fri, 11 Oct 1991 03:42
24 lines
2058 bytes
In article <1991Oct8.025259.18497@ux1.cso.uiuc.edu> dellwo@ottawa.scs.uiuc.edu writes:
>I have rn 4.4 patch level 1.  I use the network version (rrn), in my 
>config.sh file of defaults, I've currently got internet='define',
>sitename='ottawa', domain='scs.uiuc.edu',hostcmd='hostname',hostfile='',
>and gethostbyname='define'.  Our computer is a Silicon Graphics,
>Irix 3.3.2, and has full access to the internet.
>
>When I run Configure it gets the host from `hostname` (which is ottawa)
>It then says it will append the domain to the hostname if it contains 
>no periods, for the purposes of the From: header for posting.
>
>However, it doesn't seem to do that.  My postings come out as 
>From: dellwo@ottawa  instead of From: dellwo@ottawa.scs.uiuc.edu

By default, rn does not put the From: header on the article.  I relies
on inews to do this.  When you build the mini-inews that comes with nntp,
you can specify the proper domain to add.  If your gethostbyname()
returns a fully qualified name, mini-inews should automatically do the
right thing.  You may have to use DNS and use a resolver version of
gethostbyname() to make this happen though.
-- 
Don "Truck" Lewis              Phone: +1 916 265-3211   Silicon Systems
Internet: (under contruction)  FAX:   +1 916 265-2931   138 New Mohawk Road
UUCP: {uunet,tektronix!gvgpsa.gvg.tek.com}!ssigv!lewis  Nevada City, CA  95959
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