not getting mail for root by giving this command: mail//mailx
881749Aug 11 2011 — edited Aug 11 2011when I have logged in as root in SUN PC(Solaris 10 OS),
and provide below command
bash-3.00# mail
No mail.
bash-3.00# mailx
No mail for root
bash-3.00# grep root /etc/mail/aliases
postmaster: root
bin: root
daemon: root
system: root
toor: root
uucp: root
manager: root
dumper: root
operator: root
decode: root
bash-3.00# tail -100 /var/log/syslog
bash-3.00# tail -100 /var/log/syslog.0
Aug 10 15:28:49 OLM-01 sendmail[3740]: [ID 801593 mail.info] p7A9SnQs003740: from=root, size=77, class=0, nrcpts=1, msgid=<201108100928.p7A9SnQs003740@OLM-01.>, relay=root@localhost
Aug 10 15:28:49 OLM-01 sendmail[3740]: [ID 801593 mail.info] p7A9SnQs003740: to=robi_cse2k@yahoo.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30077, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Aug 10 15:33:47 OLM-01 sendmail[12126]: [ID 801593 mail.info] p7A9Xl3J012126: from=root, size=77, class=0, nrcpts=1, msgid=<201108100933.p7A9Xl3J012126@OLM-01.>, relay=root@localhost
Aug 10 15:33:47 OLM-01 sendmail[12126]: [ID 801593 mail.info] p7A9Xl3J012126: to=robi_cse2k@yahoo.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30077, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Please help me to get mail for root..