At sendmail 8.8.6, sendmail automatically assumes that you are using DNS and
will be returning fully qualified hostnames. If you are not, you MUST
use the following workaround to trick it.
1. At sendmail 8.8.6 (PHNE_11395 - HPUX 9.04 or equiv for other HPUX
service.switch IS NOT USED AT ALL, regardless of whether you've
uncommented it in sendmail.cf.
2. If you are not using dns (you do not have a fully-qualified
domain name), you MUST:
a) Set the Dj$w macro in sendmail.cf to Dj$w. (as opposed to Dj$w
without a dot at the end) AND here's where it differs from previous
b) Add an alias to /etc/hosts or the nis hosts map that ends with a .
(for example, a pre- 8.8.6 hostfile line might look like this:
188.8.131.52 hello to make things work at 8.8.6, change it to
184.108.40.206 hello hello.These same rules apply to NIS as well.
>Can anyone help me with this problem.
>Whenever I reboot the machine I get a "sendmail(:unable to qualify own
>domain name(bylonl))" error. Also, the message sometimes appears on the
>I have had this problem with another of out machines (byldev3) but when I
>changed the name to (byldev) everything was OK.
>bylonl used to be named 'byldemo3' and 'byldemod330' at some point in it's
>life, but the problem didn't go away when I changed the name.
>Can anyone give me any help.