Unable send a mail to user
My SMTP server ip is : 10.3.9.161.
Added in /etc/mail/sendmail.mc
DAEMON_OPTIONS(`Port=smtp,Addr=10.3.9.161, Name=MTA') dnl
df -h | mail -s “disk space report”
bala@123.com
tail -f /var/log/maillog
Nov 1 18:24:42 rilpg12 sendmail[20578]: pA1IOgCM020578: from=root, size=407, class=0, nrcpts=3, msgid=<201111011824.pA1IOgCM020578@rilpg12>, relay=root@localhost
Nov 1 18:24:42 rilpg12 sendmail[20578]: pA1IOgCM020578: to=space,report.,balamurugan.kumaresan@ril.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=90407, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]