Path: utzoo!utstat!news-server.csri.toronto.edu!math.lsa.umich.edu!zaphod.mps.ohio-state.edu!mips!wdl1.wdl.fac.com!wdl1!wrl From: wrl@wdl1.wdl.fac.com (Bill Lewandowski) Newsgroups: news.software.nntp Subject: Re: "Path" Message-ID: <1990Oct23.152106.15465@wdl1.wdl.fac.com> Date: 23 Oct 90 15:21:06 GMT References: <1990Oct3.145435.19729@wdl1.wdl.fac.com> <1990Oct18.004159.25479@mlb.semi.harris.com> <7714@dog.ee.lbl.gov> Sender: root@wdl1.wdl.fac.com (SUPER USER) Organization: Ford Aerospace Lines: 41 Nntp-Posting-Host: wdl1 leres@ace.ee.lbl.gov (Craig Leres) writes: >Don Lewis writes: >> If you are posting from the other hosts using the mini-inews supplied >> with nntp and gethostbyname() does not return a fully qualified domain >> name for the current host (as on Suns using YP/NIS), [...] >If this is your problem then the hosts file you're loading into the yp >map is wrong. The h_name field of the hostnet struct is supposed to be >the official (read canonical) name of the host. This means that you >really want the fully qualified domain name first: > 128.3.112.36 dog.ee.lbl.gov dog >it breaks more than the mini-inews if the "alias" appears first. > Craig Well Craig I have to differ from you. We have used the unqualified name or aliases for all our YP domains with no problems. This actually has helped us out. We identify each host by the alias for all YP functions. Using the fully qualified name in the past had problems. For mail, the sendmail.cf file qualifies the name when need be. No mail can leave without being qualified. Don Lewis was right that my problem is I dont use fully qualified names and thus my return paths get screwwed up. Now, the return path should not be used for replies via mail but some systems seem to use them. I have not figured this one out yet. The originator shows the fully qualified name of the sender (I guess that come from cnews and the config in /usr/lib/news. I guess I have to live with my unqualified names because we are not going to redo our YP in 6 domains and over 300 hosts. -- Bill Lewandowski Ford Aerospace Corp. - San Jose FORDNET II 473-4362 Internet: wrl@wdl1.wdl.fac.com AT&T (408) 473-4362 UUCP: wdl1!wrl FAX: (408) 473-7926 Pager: Upon Request