🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Joseph Judge Fri, 24 Mar 1995 15:58
xvnews' From: addresses
#16349
Author: Joseph Judge
Date: Fri, 24 Mar 1995 15:58
18 lines
1445 bytes
	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)
Re: xvnews' From: addresses
#16446
Author: Chris van Engelen
Date: Tue, 28 Mar 1995 06:58
33 lines
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
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