🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Andrew Conner Thu, 02 Dec 1993 00:33
Question about customizing xvnews
#6750
Author: Andrew Conner
Date: Thu, 02 Dec 1993 00:33
16 lines
1323 bytes
I'm experiencing a problem with posting using xvnews.  Whenever I post an article,
the "From" and "Reply-To" addresses are listed as andrew@falcon.falcon (which is
incorrect) and the "Organization" is listed as "Sun Microsystems" (which is also
wrong).  How can I customize xvnews so it will use the correct header?

---

_______________________________________________________________________________
Andrew Conner
KLA Instruments Corp.
San Jose, CA

	"There Ak * exp(kt) suckers born every minute.  This is the entire
	 cause of the problem."
_______________________________________________________________________________
Re: Question about customizing xvnews
#6756
Author: Simon Kershaw
Date: Thu, 02 Dec 1993 10:55
25 lines
1803 bytes
In article 60A@kla.com, andrew@falcon.kla.com (Andrew Conner) writes:
>
>I'm experiencing a problem with posting using xvnews.  Whenever I post an article,
>the "From" and "Reply-To" addresses are listed as andrew@falcon.falcon (which is
>incorrect) and the "Organization" is listed as "Sun Microsystems" (which is also
>wrong).  How can I customize xvnews so it will use the correct header?

To set the organization you need to set an environment variable.  Try

setenv ORGANIZATION "KLA Instruments Corp."

Your mail address is generated from your LOGNAME env variable, an "@",
then your local host (using gethostname()) and your domain (using the
DOMAIN env var, or if this is unset, getdomainname()).

So you could try:

setenv DOMAIN "kla.com"


Simon Kershaw
simon.kershaw@smallworld.co.uk

Smallworld Systems Ltd, Brunswick House, 61-69 Newmarket Rd, Cambridge, England
"Views expressed do not reflect the opinions/policies of Smallworld Systems Ltd"
Re: Question about customizing xvnews
#6844
Author: David Brown
Date: Tue, 07 Dec 1993 21:32
15 lines
1607 bytes
In article 60A@kla.com, andrew@falcon.kla.com (Andrew Conner) writes:
>
>I'm experiencing a problem with posting using xvnews.  Whenever I post an article,
>the "From" and "Reply-To" addresses are listed as andrew@falcon.falcon (which is
>incorrect) and the "Organization" is listed as "Sun Microsystems" (which is also
>wrong).  How can I customize xvnews so it will use the correct header?

The reason for not getting the correct address is your machine is not running DNS.  
You can override with the DOMAIN environment variable.   The organization is hardcoded into the program.  It can also be overidden with the ORGANIZATION environment variable. 
If you are supporting xvnews or know who does, all of these can be changed in the
source.   I changed the source before compiling to use defaults specific to my site
(DOMAIN, ORGANIZATION and NNTPSERVER). 

Good Luck!
David
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