On Fri, Jun 17, 2005 at 05:26:54PM +0200, Christoph Petersen
wrote:> Hi,
>=20
> I don't know whats wrong but when I execute logcheck it returns
> "hostname: Unknown host". How could I set the hostname for the
reply
> emailadress manually?
I would fix my hostname problems at the root but you can search for this
block
if [ -z "$FQDN" ]; then
HOSTNAME=3D"$(hostname --short)"
else
HOSTNAME=3D"$(hostname --fqdn)"
fi
in /usr/sbin/logcheck and set
HOSTNAME=3D"bad.wuergaround.local"
after this if else block.
HTH
Sven
BTW: Please don't take it as a offense :)
--=20
Das Fernsehen ist die gr=F6=DFte kulturelle Katastrophe, die die Erde in der
Zeit,
an die wir uns erinnern k=F6nnen, erlebt hat.
[ Joseph Weizenbaum ]