Path: utzoo!attcan!ncrcan!brian From: brian@ncrcan.Toronto.NCR.COM (Brian Onn) Newsgroups: comp.mail.uucp Subject: Re: how to fix rn return addresses Message-ID: <1437@ncrcan.Toronto.NCR.COM> Date: 13 Jun 89 14:55:39 GMT References: <7912@saturn.ucsc.edu> <2903@portia.Stanford.EDU> <264@vector.Dallas.TX.US> Reply-To: brian@ncrcan.Toronto.NCR.COM (The Super User) Organization: NCR Canada Ltd., Mississauga, Ontario Lines: 22 In article <264@vector.Dallas.TX.US> chip@vector.Dallas.TX.US (Chip Rosenthal) writes: >In article <2903@portia.Stanford.EDU> karish@forel.stanford.edu (Chuck Karish) writes: >>[Re: hacking rn for other than .UUCP] >>The proper domain name should be set by the installation script. > >I hacked Configure and a couple of other places to do exactly this. It >adds a DOMAINNAME definition and a "%k" interpolation. Drop me a line >if you want a copy. >-- >Chip Rosenthal / chip@vector.Dallas.TX.US / Dallas Semiconductor / 214-450-5337 >"I wish you'd put that starvation box down and go to bed" - Albert Collins' Mom As domain names become more popular, it seems to me that there should be a portable way to determine the domain name either at configuration time or run time. For determining the hostname, we have hostname(2) for Berkely, uname(2) for USG, /etc/nodename on some Xenixes, and probably others that I am not familiar with. Shouldn't there be a way to (portably) determine your domain name by now?? Brian,