HP-UX Mailing Services Administrator's Guide (B2355-91064)
Setting Your Domain Name
If Sendmail cannot resolve your domain name, you may see the following warning
message in your syslog file:
WARNING: local host name name is not qualified; fix $j in config file
To resolve this problem, do one of the following:
• Uncomment the following line in the /etc/mail/sendmail.cf file by deleting
the pound sign (#) at the beginning of the following line:
Dj$w.Foo.COM
Change Foo.COM to the name of your domain (for example, HP.COM).
• Modify the /etc/hosts file, making sure that the fully qualified name of the
system is listed first. For example, the entry in the file must be 255.255.255.255
dog.hp.com dog and not 255.255.255.255 dog dog.hp.com.
Attempting to Start Multiple Sendmail Daemons
If you attempt to invoke Sendmail when a Sendmail daemon is already running, the
following message may be logged to the syslog file:
NO QUEUE: SYSERR (root) opendaemonsocket: daemon MTA: server
SMTP socket wedged: exiting
This message means that a Sendmail daemon is already running. You can use either
/sbin/init.d/sendmail stop or killsm to stop the running daemon.
Configuring and Reading the Sendmail Log
Sendmail logs its mail messages through the syslogd logging facility.
The syslogd configuration must write mail logging to the file
/var/adm/syslog/mail.log. You can do this by adding the following line in
/etc/syslog.conf:
mail.debug /var/adm/syslog/mail.log
You can use the HP mtail utility to look at a specified number of the last lines of the
log file:
mtail 15
By default, mtail displays the last 20 lines of the log file. For more information on the
mtail utility, type man 1M mtail at the HP-UX prompt.
Troubleshooting Sendmail 95