I will try to put things in order.
#1 I am receiving (from cron.daily) e-mails about rkhunter, etc. How do I stop receiving these messages?
#2 From those mails, I realized my hostname (and/or domain) were not set up correctly. This is because those mails are giving me the message "Unknown host".
If I use the following commands I get these results:
# uname -n
Result: debian5b (this is the hostname I want).
# hostname -a
; hostname -s
; hostname -d
; hostname -f
With any of these I get: Unknown host
# hostname --fqdn
Result: Unknown host
If I edit /etc/hostname, it contains: debian5b
# syctl kernel.hostname
I I edit /etc/hosts
, I get:
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
What can I delete/modify from /etc/hosts? Are those ip6 lines needed?
My /etc/resolv.conf looks like:
This is my desktop computer (Debian Lenny). IP address: 192.168.1.136
So What should I do to set my hostname and domain correctly? What is missing
I will really appreciate your help. Thanks in advance,