HP-UX Mailing Services Administrator's Guide
Configuring and Administering Sendmail
Troubleshooting Sendmail
Chapter 2 97
• 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 S
MTP 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.
For more information on configuring syslogd, see the HP-UX Internet
Services Administrator’s Guide at the URL
http://www.docs.hp.com/hpux/netcom/index.html#Internet%20Se
rvices.
Setting Log Levels
You can set the log level with the -oL option on the Sendmail command
line or on the OL line in the Sendmail configuration file. At the lowest
level, no logging is done. At the highest level, even the most mundane
events are recorded. As a convention, log levels 11 and lower are