From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35054 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: `user-mail-address' for message-ids Date: 28 Feb 2001 00:03:40 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <20010223133030.B14991@mastaler.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035170860 958 80.91.224.250 (21 Oct 2002 03:27:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:27:40 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id EF810D049D for ; Tue, 27 Feb 2001 18:04:23 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id RAB24816; Tue, 27 Feb 2001 17:04:07 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 27 Feb 2001 17:03:26 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id RAA16276 for ; Tue, 27 Feb 2001 17:03:15 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 3E41FD049D for ; Tue, 27 Feb 2001 18:03:42 -0500 (EST) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id AAA11977 for ; Wed, 28 Feb 2001 00:03:41 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id AAA02231; Wed, 28 Feb 2001 00:03:41 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id AAA28694; Wed, 28 Feb 2001 00:03:40 +0100 X-Face: 6=pZ4hVbjN:C?j1$h/-bi4:F%*~B#Rxb$[0%!{5NK"dE:_QRAM]Dzl=$yMu%Rh4xCSm/#>! $n%@SHJ](KFJKL,uF\=G=bRJQC$ ?+Dlxu*pj.Z,-GK<~y7sd/l*PN\]>} (prj@po.cwru.edu's message of "27 Feb 2001 17:08:49 -0500") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/21.0.99 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 21 Xref: main.gmane.org gmane.emacs.gnus.general:35054 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35054 On 27 Feb 2001, Paul Jarc wrote: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > >> (Unless the FQDN was found already in /etc/hosts.) >=20 > If a system is locally misconfigured such that gethostname() doesn't > return something useful, I doubt /etc/hosts will be any more > helpful. I think gethostname() looks in /etc/hosts, no? I was proposing to do something else if gethostname() fails. It is normal for Solaris machines to not have the FQDN in /etc/hosts or in the NIS database. Therefore on a typical Solaris machine you have to ask DNS. kai --=20 Be indiscrete. Do it continuously.