This appendix provides an explanation and suggested user actions for the
sendmail
error messages. These messages can occur when
sending mail to another user on the same host or when sending mail using
TCP/IP. If other mailers are configured on your system (for example, DECnet),
see the documentation that accompanies the mailer for additional messages.
The following
sendmail
messages are found either in a rejected message or in the
syslogd
message file:
binmail: opening /usr/spool/mail/filename-: Permission denied
/bin/mail
program could not deliver the mail on the
destination host. Possible reasons are as follows:
/usr/spool/mail
directory permissions are incorrect. The correct permissions are 1777.
Cannot send message for 3 days
/var/adm/sendmail/sendmail.cf
file. It is being returned to the sender. Possible reasons are as follows:
/var/adm/sendmail/sendmail.cf
file.
User Action:
If the braces are empty (that is, do not contain a host name), reconfigure
sendmail
configuration by entering the following command:
#
grep '^define(_GateINET' /var/adm/sendmail/hostname.m4
sendmail
and specify a relay host. See
Section 11.3
for more information on specifying a relay name.
Connection refused
sendmail
daemon is not running on the destination host.
User Action:
Check whether
If it is not, ask the system administrator to start
sendmail
is running on the host by using the
ps
command as follows:
#
ps -ax | grep send
sendmail.
Connection timed out during user open
User Action: The message will be retried later.
Host unknown
/var/adm/sendmail/sendmail.cf
file does not define a
relay host that can handle mail addresses outside of your company.
User Action:
If the host is not defined, ask your system administrator to correct the
problem.
If a record exists, go to step 3.
If the braces are empty (that is, do not contain a host name), reconfigure
/etc/hosts
file if you are resolving addresses locally or issue the
ypmatch
hostname hosts command if you are using NIS. The hosts entry in the
svc.conf
file defines the services used.
nslookup
command as follows:
#
nslookup -q=mx hostname
nslookup
command. If
the address is not found, have the BIND domain administrator for the
destination domain add an address
(A)
record for the host in the
destination domain.
sendmail
configuration by entering the following command:
#
grep '^define(GateINET' /var/adm/sendmail/hostname.m4
sendmail
and specify a relay host. Send the message again. See
Section 11.3
for more information on specifying a relay name.
I refuse to talk to myself
User Action:
Check your
If the braces on any line contain your host's name, there is a configuration
error. Reconfigure
sendmail
configuration by entering the following command:
#
grep '^define(GateINET' /var/adm/sendmail/hostname.m4
sendmail.
See
Section 11.3
for more information.
Remote protocol error
mail.log
file generated
by the
syslogd
daemon and indicates a problem in communicating
with the remote host.
User Action: The message will be retried later.
Service unavailable
sendmail
to interpret an address as an action.
User Action:
Look for other error messages, for example
Host unknown,
and
resolve them first. Resolving other errors should resolve this error as well.
User unknown/Addressee unknown
aliases
file or the local password file at the
final destination.
User Action: Check whether the user address is correct or whether the user has moved.