When I try to send mail on CentOS:
mail -s "hello" root
to=root, ctladdr=root (0/0), delay=00:00:00\ , xdelay=00:00:00,
mailer=relay, pri=30031, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0,
stat=Deferred: Connection refused by [127.0.0.1]
My question is:
Do I need to setup an SMTP mail server on localhost for mail to work?