🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #696

Re: host name problem

#696
From: Andrew Cherenson
Date: Fri, 11 Oct 1991 22:59
23 lines
1917 bytes
In article <1991Oct11.034230.12730@ssigv.UUCP> lewis@ssigv.UUCP (Don Lewis) writes:
>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
>
>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.

In Irix 3.3, the standard libc gethostbyname() is the resolver version.
Try using the fully-qualified domain name ("ottawa.scs.uiuc.edu") 
in /etc/sys_id.
Technical Details
Message-ID: <npsqalo@sgi.sgi.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!unidui!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!mips!sgi!kaibab.wpd.sgi.com!arc

Show Full Headers
Complete Article Headers
Message-ID: <npsqalo@sgi.sgi.com>
Subject: Re: host name problem
Date: Fri, 11 Oct 1991 22:59:21 +0000
From: arc@kaibab.wpd.sgi.com (Andrew Cherenson)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!unidui!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!mips!sgi!kaibab.wpd.sgi.com!arc
Newsgroups: news.software.readers
Sender: arc@kaibab.wpd.sgi.com
Organization: Silicon Graphics, Inc. Mountain View, CA
Lines: 23