Solaris 9 mailx problems

how come I cant email myself, here is what im typing

mailx saundersc
Subject: hi
hello world
.
EOT
# su saundersc
# mailx
No mail for saundersc

Can you email anyone?

Assuming you are on the box, try mailx localhost to make sure sendmail is turned on.

(This would be under root)

If not, you might have some more direction.

Check to see where (if at all) mail information is being sent to (I'm referring to warning/error/informational messages, not email) by looking at your /etc/syslog.conf file for mail. Default is for it to go to /var/adm/messages. Grep for sendmail in that file (probably /var/adm/messages). It may give you a clue as to what happened to the email.

Also test that sendmail is configured correctly (could be a DNS issue).
Run /usr/lib/sendmail -d0.1 -bt < /dev/null and check the output for errors. (see this thread for info)

here is my syslog.conf, looks like it is going to syslog, any suggestions on how i should modify this to capture more error messages for mail

# more /etc/syslog.conf
#ident "@(#)syslog.conf 1.5 98/12/14 SMI" /* SunOS 5.0 */
#
# Copyright (c) 1991-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`') names
# that match m4 reserved words. Also, within ifdef's, arguments
# containing commas must be quoted.
#
*.err;kern.notice;auth.notice /dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages

*.alert;kern.err;daemon.err operator
*.alert root

*.emerg *

# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)

mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)

#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err /dev/sysmsg
user.err /var/adm/messages
user.alert `root, operator'
user.emerg *
)

I got this from the command asked me to run, i cant make much out of it

/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.12.10+Sun
Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS
NISPLUS PIPELINING SCANF USERDB USE_LDAP_INIT XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = my hostname
(canonical domain name) $j = my full cononical domain name
(subdomain name) $m = my subdomain
(node name) $k = full hostname

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>

here is what i found in syslog, looks like my localhost is refusing connections

May 18 13:31:19 my_hostname sendmail[5976]: [ID 801593 mail.info] k4IHVJ3K005976: to=phonenumber@mess
aging.nextel.com, ctladdr=saundersc (600/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30100, relay=[127.0.0.1] [12
7.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
May 18 13:56:43 my_hostname sendmail[7410]: [ID 801593 mail.info] k4IHuhAe007410: from=saundersc, si
ze=48, class=0, nrcpts=1, msgid=<200605181756.k4IHuhAe007410@my_hostname>, relay=saundersc@localhost
May 18 13:56:43 my_hostname sendmail[7410]: [ID 801593 mail.info] k4IHuhAe007410: to=localhost, ctla
ddr=saundersc (600/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30048, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, s
tat=Deferred: Connection refused by [127.0.0.1]
May 18 13:59:25 my_hostname sendmail[7572]: [ID 702911 mail.warning] gethostbyaddr(ip) fail
ed: 1
May 18 13:59:25 my_hostname sendmail[7572]: [ID 702911 mail.warning] gethostbyaddr(ip) fail
ed: 1
May 18 13:59:25 my_hostname sendmail[7572]: [ID 702911 mail.warning] gethostbyaddr(ip) fail