Installing and Administering Internet Services

Chapter 4 155
Installing and Administering sendmail
Troubleshooting sendmail
telnet furschlugginer 25
220 furschlugginer.bftxp.edu SMTP server ready
vrfy aen
250 Alfred E. Newman <aen@axolotl.bftxp.edu>
vrfy blemph@morb.poot
554 blemph@morb.poot: unable to route to domain morb.poot
quit
221 furschlugginer.bftxp.edu SMTP server shutting down
Not all SMTP servers support the VRFY and EXPN commands.
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:
In the /etc/mail/sendmail.cf file, uncomment the following line
by deleting the pound sign (#) at the beginning of the 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
should be “255.255.255.255 dog.cup.hp.com dog” and not
255.255.255.255 dog dog.cup.hp.com.”
Attempting to Start Multiple sendmail
Daemons
If you attempt to start sendmail when there is already a sendmail
daemon running, the following message may be logged to both the syslog
file and to the console:
NO QUEUE: SYSERR (root) opendaemonsocket: cannot bind:
Address already in use
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.