From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LcLao-00043y-Nn for garchives@archives.gentoo.org; Wed, 25 Feb 2009 15:22:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C30CDE075C; Wed, 25 Feb 2009 15:22:37 +0000 (UTC) Received: from mail-gx0-f175.google.com (mail-gx0-f175.google.com [209.85.217.175]) by pigeon.gentoo.org (Postfix) with ESMTP id 8E960E075C for ; Wed, 25 Feb 2009 15:22:37 +0000 (UTC) Received: by gxk23 with SMTP id 23so157998gxk.10 for ; Wed, 25 Feb 2009 07:22:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:openpgp :content-type:content-transfer-encoding; bh=3hJT7o5I5rVECJesesJT7sV+ZY/VUp9uGI5HOt59jJg=; b=fqJ7On4peS4zhI5Z2zrn1MkBwPuELd8Te2XKb5izKVL1X0cf4B+MYbjB6Mi4IgH+2T wQWRzqhMVUpPRg2W87OMw+EW6bZH0ALvCPIP60Q3R3PGnCsAHX5Tdcb3u4o3FcvnH8FE BPBu9U1nHyG75qfzxjU8VFQQjhAAdBrxTQY/A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=rdvCAxFTZVPNmNNTeloFZD4sC+IgJg8aL/qRcMq5LWe2rOdZJZyvj0QMt6YLuL0L6E B84tDVRM3pVggl7pWOfXfRCj0eFVwPT69uNpR7ymj1lnKuiXLPZP6CWtu7ePVjstgsih m0zbmmTDA6pkxc6UC5aX4IKyt6bK+KKK42WDU= Received: by 10.100.254.15 with SMTP id b15mr406306ani.155.1235575357254; Wed, 25 Feb 2009 07:22:37 -0800 (PST) Received: from ?10.192.200.236? (Net12H231.itsd.state.ms.us [205.144.227.231]) by mx.google.com with ESMTPS id c1sm388901ana.20.2009.02.25.07.22.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 25 Feb 2009 07:22:36 -0800 (PST) Message-ID: <49A5623B.8090904@gmail.com> Date: Wed, 25 Feb 2009 09:22:35 -0600 From: Chris Lieb User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Logwatch not resolving hostname X-Enigmail-Version: 0.95.7 OpenPGP: id=266AC070; url= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: ad4f53f0-ea80-477f-9727-32a8b9a41b76 X-Archives-Hash: 53fa0a4b5511d76c08a7b756324b34ae -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have recently setup logwatch-7.3.2 on a few of my machines along with sendmail. For all but one of the machines, I get emails that have the hostname in the subject line (Logwatch for capitol (Linux)) as well as on the line that reads 'Logfiles for Host' (Logfiles for Host: capitol). However, on one machine, the hostname is not resolved correctly. The email has the subject line 'Logwatch for 10 (Linux)' and in the body of the email has 'Logfiles for Host: 10'. The IP address of this machine is 10.192.202.xxx, and the hostname is high. When I do a `hostname -va` on high, I get: gethostname()=`high' Resolving `high' ... Result: h_name=`high.opcdir.intranet' Result: h_aliases=`high' Result: h_aliases=`localhost' Result: h_addr_list=`127.0.0.1' high localhost When I run the same command on congress, which has a working logwatch, I get: gethostname()=`congress' Resolving `congress' ... Result: h_name=`congress.opcdir.intranet' Result: h_aliases=`congress' Result: h_aliases=`localhost' Result: h_addr_list=`127.0.0.1' congress localhost This seems to me to eliminate the possibility of a misconfigured hostname on high. Does anyone have an idea as to what is causing logwatch to not resolve the hostname correctly? Thanks, Chris Lieb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJJpWI7AAoJEJWxx7fgsD+Cq+8H/RwGltiY8fvbAfee3/e/jYG9 WyOm187M6LZBQ3hWJ2Q558hQUNr86CqfaLBwPaOeBK8KEv1WvhAS5iyQo/4FNU77 X7y+EwEpF4X1mYV0MNm+zLmvd/XqEeSCxNe96N6bubyXxSh+/uAR4Seqd4TtwjKH aOVqvN94skUJY4MVgLHHrjbDVwNkv6TqVTIKDRquj3qx21TzKsMj3VrxlGUinvIW /nXs0hI4SYWOXIB+t29z/P80KPSozJW9OW2GuEJIeph91eKoc9H8nfcFLE3I1k3x dMAdxEtF7fPUB2KmIizRAoOauKYHHkPqPbxvUDqh8T3JABfzYu+cG4v7xuRfok4= =Y0K4 -----END PGP SIGNATURE-----