Sendmail config error - incorrect hostname

Hi All,

I have the strangest thing going on - I get the following error when I try to start Sendmail

[edge7 /etc/mail]$ hostname

edge7

[edge7 /etc/mail]$ tail -10 syslog.0

tail: cannot open input

[edge7 /etc/mail]$ tail -10 /var/log/syslog.0

Feb 22 14:38:09 edge6 sendmail[233]: [ID 702911 mail.crit] My unqualified host name (edge6) unknown; sleeping for retry

Feb 22 14:39:10 edge6 sendmail[233]: [ID 702911 mail.alert] unable to qualify my own domain name (edge6) -- using short name

Feb 22 14:39:10 edge6 sendmail[233]: [ID 801593 mail.info] k1MLdAY8000233: from=root, size=1212, class=0, nrcpts=1, msgid=<200602222139.k1MLdAY8000233@edge6>, relay=root@localhost

[edge7 /etc/mail]$

Obviously the hostname for this system is edge7 - I have a very similar host configured as edge4 and it works fine with the same /etc/hosts ...

Why does Sendmail think the machine name is edge6?

Thanks, Rick

[984 byte] By [inzannedee] at [2007-11-26 10:35:02]
# 1

Hi,

Check the coherency of all the references to the hostname

- /etc/nodename (probably wrongly configured to edge6 instead of edge7)

- Also in /etc/hostname.<nic> and check if there is an entry in /etc/hosts

Some of the warning messages also concerns the domain name of your node( /etc/defaultdomain) which is not configured.

Regards.

LaurentFaipot at 2007-7-7 2:45:08 > top of Java-index,General,Network Configurations...
# 2
OK - thanks that worked and i found some other issues
inzannedee at 2007-7-7 2:45:08 > top of Java-index,General,Network Configurations...