From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35046 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: `user-mail-address' for message-ids Date: 27 Feb 2001 17:08:49 -0500 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 1035170853 908 80.91.224.250 (21 Oct 2002 03:27:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:27:33 +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 F3E16D049D for ; Tue, 27 Feb 2001 17:09:15 -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 QAB24665; Tue, 27 Feb 2001 16:09:08 -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 16:08:29 -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 QAA15752 for ; Tue, 27 Feb 2001 16:08:19 -0600 (CST) Original-Received: from multivac.cwru.edu (multivac.STUDENT.CWRU.Edu [129.22.96.25]) by mailhost.sclp.com (Postfix) with SMTP id 6BEB2D049D for ; Tue, 27 Feb 2001 17:08:50 -0500 (EST) Original-Received: (qmail 31502 invoked by uid 500); 27 Feb 2001 22:09:11 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "27 Feb 2001 23:01:32 +0100") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 16 Xref: main.gmane.org gmane.emacs.gnus.general:35046 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35046 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > My idea is that Emacs should look if there is /etc/resolv.conf and if > there is a nameserver entry in it, and if so, it should ask the name > server for the FQDN of the local host. I'm a bit wary of having to talk to the network for this purpose. I'd almost prefer signaling an error and giving up, except that would hurt non-root users on systems with lazy admins. > (Unless the FQDN was found already in /etc/hosts.) If a system is locally misconfigured such that gethostname() doesn't return something useful, I doubt /etc/hosts will be any more helpful. paul