Hi,
I have checked the following.
1. check service are up or not
ps -elf|grep mail - It is UP.
2. edit /etc/mail/sendmail.cf
# "Smart" relay host (may be null)
DSmyservername
3. added below to /etc/mail/ trusted-users
root
daemon
uucp
Please check the output. It is showing message is send, but I am not receiving any mail.
mailx -v -s "Test Mail" krajamani@vigt.com </dev/null
Null message body; hope that's ok
krajamani@vigt.com... Connecting to [127.0.0.1] via relay...
220 sflxdb07.donerus.com ESMTP Sendmail 8.13.1/8.13.1; Tue, 9 Mar 2010 06:24:12-0500
EHLO sflxdb07.donerus.com
250-sflxdb07.donerus.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
MAIL From:<root@sflxdb07.donerus.com> SIZE=43
250 2.1.0 <root@sflxdb07.donerus.com>... Sender ok
RCPT To:<krajamani@vigt.com>
DATA
250 2.1.5 <krajamani@vigt.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
250 2.0.0 o29BOCrg007596 Message accepted for delivery
krajamani@vigt.com... Sent (o29BOCrg007596 Message accepted for delivery)
Closing connection to [127.0.0.1]
221 2.0.0 sflxdb07.donerus.com closing connection
Thanks,
Kavitha