1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
I have recently setup logwatch-7.3.2 on a few of my machines along with |
5 |
sendmail. For all but one of the machines, I get emails that have the |
6 |
hostname in the subject line (Logwatch for capitol (Linux)) as well as |
7 |
on the line that reads 'Logfiles for Host' (Logfiles for Host: capitol). |
8 |
|
9 |
However, on one machine, the hostname is not resolved correctly. The |
10 |
email has the subject line 'Logwatch for 10 (Linux)' and in the body of |
11 |
the email has 'Logfiles for Host: 10'. The IP address of this machine |
12 |
is 10.192.202.xxx, and the hostname is high. |
13 |
|
14 |
When I do a `hostname -va` on high, I get: |
15 |
gethostname()=`high' |
16 |
Resolving `high' ... |
17 |
Result: h_name=`high.opcdir.intranet' |
18 |
Result: h_aliases=`high' |
19 |
Result: h_aliases=`localhost' |
20 |
Result: h_addr_list=`127.0.0.1' |
21 |
high localhost |
22 |
When I run the same command on congress, which has a working logwatch, I |
23 |
get: |
24 |
gethostname()=`congress' |
25 |
Resolving `congress' ... |
26 |
Result: h_name=`congress.opcdir.intranet' |
27 |
Result: h_aliases=`congress' |
28 |
Result: h_aliases=`localhost' |
29 |
Result: h_addr_list=`127.0.0.1' |
30 |
congress localhost |
31 |
This seems to me to eliminate the possibility of a misconfigured |
32 |
hostname on high. |
33 |
|
34 |
Does anyone have an idea as to what is causing logwatch to not resolve |
35 |
the hostname correctly? |
36 |
|
37 |
Thanks, |
38 |
Chris Lieb |
39 |
-----BEGIN PGP SIGNATURE----- |
40 |
Version: GnuPG v1.4.9 (MingW32) |
41 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
42 |
|
43 |
iQEcBAEBAgAGBQJJpWI7AAoJEJWxx7fgsD+Cq+8H/RwGltiY8fvbAfee3/e/jYG9 |
44 |
WyOm187M6LZBQ3hWJ2Q558hQUNr86CqfaLBwPaOeBK8KEv1WvhAS5iyQo/4FNU77 |
45 |
X7y+EwEpF4X1mYV0MNm+zLmvd/XqEeSCxNe96N6bubyXxSh+/uAR4Seqd4TtwjKH |
46 |
aOVqvN94skUJY4MVgLHHrjbDVwNkv6TqVTIKDRquj3qx21TzKsMj3VrxlGUinvIW |
47 |
/nXs0hI4SYWOXIB+t29z/P80KPSozJW9OW2GuEJIeph91eKoc9H8nfcFLE3I1k3x |
48 |
dMAdxEtF7fPUB2KmIizRAoOauKYHHkPqPbxvUDqh8T3JABfzYu+cG4v7xuRfok4= |
49 |
=Y0K4 |
50 |
-----END PGP SIGNATURE----- |