Article View: news.software.readers
Article #16446Re: xvnews' From: addresses
From: Chris van Engelen
Date: Tue, 28 Mar 1995 06:58
Date: Tue, 28 Mar 1995 06:58
33 lines
2031 bytes
2031 bytes
In article <3kuq83$4ic@news-srv1.fmr.com>, joe@public.fmr.com (Joseph Judge) writes: > I'm new to using xvnews ... so maybe I'm doing something odd. > > I'm on a SunOS 4.1.3 box, with xvnews-2.3 ... my host name is > public.fmr.com, account: joe. The only environment var set for this is NNTPSERVER. > > > Whenever I post an article, I see the From: line use: > 'From: joe@fmr.com (Joseph Judge)' > > Looking in the source, xv_post.c ... the header builds that way (!) > This is true even though the gethostname can get the 'public' name. > The code sprintf()'s name, domain, getname(name) ... for the "From: %s@%s (%s)" > > Arrgghhhh ! Why ? ... why not "From: %s@%s.%s" name, host, domain, getname(name) ? > > > - joe >(I hand-fixed the headers when I post ...so the above headers are correct) > You could use the DOMAIN environment variable: if set, it replaces the full machine address; i.e., export DOMAIN="public.fmr.com" would do the trick (check out the xvnews manual page for more environment variables, e.g., ORGANIZATION). -- Chris van Engelen AT&T Network Systems Nederland BV
Technical Details
Message-ID:
<D6521F.68A@nntpa.cb.att.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!nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!news.mathworks.com!news.alpha.net!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!gatech!ncar!uchinews!gw2.att.com!nntpa!newsReferences:
<3kuq83$4ic@news-srv1.fmr.com>Show Full Headers
Complete Article Headers
Message-ID: <D6521F.68A@nntpa.cb.att.com> Subject: Re: xvnews' From: addresses Date: Tue, 28 Mar 1995 06:58:27 GMT From: cvengel@hvssa01.att.com (Chris van Engelen) References: <3kuq83$4ic@news-srv1.fmr.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!nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!news.mathworks.com!news.alpha.net!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!gatech!ncar!uchinews!gw2.att.com!nntpa!news Newsgroups: news.software.readers Keywords: xvnews domain DOMAIN Sender: news@nntpa.cb.att.com (Netnews Administration) Nntp-Posting-Host: hvss022.ns-nl.att.com Reply-To: cvengel@hvssa01.att.com Organization: AT&T Network Systems Nederland BV Lines: 35