Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id C9572632442 for ; Fri, 30 Apr 2010 11:21:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 51089-02 for ; Fri, 30 Apr 2010 14:20:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 6AF3C6322F9 for ; Fri, 30 Apr 2010 11:20:58 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 30 Apr 2010 09:20:56 -0500 Message-Id: <4BDAA0F702000025000310DB@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 30 Apr 2010 09:20:55 -0500 From: "Kevin Grittner" To: , "Ross J. Reedstrom" Subject: Re: Querying the hostname of the server References: <20100430141404.GB28614@rice.edu> In-Reply-To: <20100430141404.GB28614@rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.346 tagged_above=-10 required=5 tests=AWL=0.864, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/364 X-Sequence-Number: 34458 "Ross J. Reedstrom" wrote: > If you're talking unix/linux machines, then /etc/hostname _should_ > have the current hostname in it If not, check for /etc/HOSTNAME -- some distributions do that. -Kevin